changeset 29789:9fbb75fb4e2d

Cosmetics: indentation, merge two consecutive ifs.
author reimar
date Thu, 05 Nov 2009 21:27:25 +0000
parents f60a8ab8c31c
children f23da710dc29
files stream/stream_dvdnav.c
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvdnav.c	Thu Nov 05 21:26:23 2009 +0000
+++ b/stream/stream_dvdnav.c	Thu Nov 05 21:27:25 2009 +0000
@@ -538,12 +538,10 @@
     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 @@
       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);
   }
 }