changeset 23710:df28abb8fe74

cosmetics: split separate instructions in separate lines
author nicodvb
date Sat, 07 Jul 2007 08:31:57 +0000
parents b214397ad0e2
children 0ba2f26f2589
files libmpdemux/demux_mpg.c
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c	Sat Jul 07 08:22:47 2007 +0000
+++ b/libmpdemux/demux_mpg.c	Sat Jul 07 08:31:57 2007 +0000
@@ -309,7 +309,8 @@
   }
 
   while(len>0){   // Skip stuFFing bytes
-    c=stream_read_char(demux->stream);--len;
+    c=stream_read_char(demux->stream);
+    --len;
     if(c!=0xFF)break;
   }
   if((c>>6)==1){  // Read (skip) STD scale & size value
@@ -338,9 +339,11 @@
     int hdrlen;
     int parse_ext2;
     // System-2 (.VOB) stream:
-    c=stream_read_char(demux->stream); pts_flags=c>>6;
+    c=stream_read_char(demux->stream);
+    pts_flags=c>>6;
     parse_ext2 = (id == 0x1FD) && ((c & 0x3F) == 1);
-    c=stream_read_char(demux->stream); hdrlen=c;
+    c=stream_read_char(demux->stream);
+    hdrlen=c;
     len-=2;
     mp_dbg(MSGT_DEMUX,MSGL_DBG3,"  hdrlen=%d  (len=%d)",hdrlen,len);
     if(hdrlen>len){ mp_msg(MSGT_DEMUX,MSGL_V,"demux_mpg: invalid header length  \n"); return -1;}