changeset 22035:3d619d883ca5

cosmetics: reindentation and braces removal
author nicodvb
date Sun, 28 Jan 2007 21:25:50 +0000
parents a3d208daed8c
children 2c6cccdeaf65
files libmpdemux/demux_mpg.c
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c	Sun Jan 28 21:22:39 2007 +0000
+++ b/libmpdemux/demux_mpg.c	Sun Jan 28 21:25:50 2007 +0000
@@ -811,15 +811,13 @@
       if(demux->synced==3) demux->synced=(ret==1)?2:0; // PES detect
   } else {
     update_stats(head);
-    if(head>=0x100 && head<0x1B0){
+    if(head>=0x100 && head<0x1B0)
       mp_msg(MSGT_DEMUX,MSGL_DBG3,"Opps... elementary video packet found: %03X\n",head);
-    } else
-    if((head>=0x1C0 && head<0x1F0) || head==0x1BD){
+    else if((head>=0x1C0 && head<0x1F0) || head==0x1BD)
       mp_msg(MSGT_DEMUX,MSGL_DBG3,"Opps... PES packet found: %03X\n",head);
-    }
 
-    if( ( (num_elementary_packets100>50 && num_elementary_packets101>50) ||
-          (num_elementary_packetsPES>50) ) && skipped>4000000){
+    if(((num_elementary_packets100>50 && num_elementary_packets101>50) ||
+        (num_elementary_packetsPES>50)) && skipped>4000000){
         mp_msg(MSGT_DEMUX,MSGL_V,"sync_mpeg_ps: seems to be ES/PES stream...\n");
         demux->stream->eof=1;
         break;