[MPlayer-cvslog] r29831 - trunk/stream/stream_dvdnav.c

reimar subversion at mplayerhq.hu
Thu Nov 5 22:27:25 CET 2009


Author: reimar
Date: Thu Nov  5 22:27:25 2009
New Revision: 29831

Log:
Cosmetics: indentation, merge two consecutive ifs.

Modified:
   trunk/stream/stream_dvdnav.c

Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c	Thu Nov  5 22:26:23 2009	(r29830)
+++ trunk/stream/stream_dvdnav.c	Thu Nov  5 22:27:25 2009	(r29831)
@@ -538,12 +538,10 @@ static void show_audio_subs_languages(dv
     if(format == 0xFFFF || format > 6)
       format = 1; //unknown
     id = i + base[format];
-      mp_msg(MSGT_OPEN,MSGL_STATUS,MSGTR_DVDaudioStreamInfo, i,
-             dvd_audio_stream_types[format], dvd_audio_stream_channels[channels], tmp, id);
-    if (lang != 0xFFFF) {
-      if(lang && tmp[0])
+    mp_msg(MSGT_OPEN,MSGL_STATUS,MSGTR_DVDaudioStreamInfo, i,
+           dvd_audio_stream_types[format], dvd_audio_stream_channels[channels], tmp, id);
+    if (lang != 0xFFFF && lang && tmp[0])
         mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_AID_%d_LANG=%s\n", id, tmp);
-    }
   }
 
   for(i=0; i<32; i++)
@@ -558,7 +556,7 @@ static void show_audio_subs_languages(dv
       tmp[1] = lang & 0xFF;
       tmp[2] = 0;
     }
-      mp_msg(MSGT_OPEN,MSGL_STATUS,MSGTR_DVDsubtitleLanguage, i, tmp);
+    mp_msg(MSGT_OPEN,MSGL_STATUS,MSGTR_DVDsubtitleLanguage, i, tmp);
   }
 }
 


More information about the MPlayer-cvslog mailing list