[MPlayer-cvslog] r22053 - trunk/libmpdemux/demux_mpg.c

nicodvb subversion at mplayerhq.hu
Sun Jan 28 22:25:50 CET 2007


Author: nicodvb
Date: Sun Jan 28 22:25:50 2007
New Revision: 22053

Modified:
   trunk/libmpdemux/demux_mpg.c

Log:
cosmetics: reindentation and braces removal

Modified: trunk/libmpdemux/demux_mpg.c
==============================================================================
--- trunk/libmpdemux/demux_mpg.c	(original)
+++ trunk/libmpdemux/demux_mpg.c	Sun Jan 28 22:25:50 2007
@@ -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;



More information about the MPlayer-cvslog mailing list