# HG changeset patch # User nicodvb # Date 1172413934 0 # Node ID 980198eb8dcb6cf6a0c276d88e2f88370043ba18 # Parent 5f47768cbda59ae7912784faeffaa6cd20850948 removed commented/useless code from parse_mpeg12_video() diff -r 5f47768cbda5 -r 980198eb8dcb libmpdemux/muxer_mpeg.c --- a/libmpdemux/muxer_mpeg.c Sun Feb 25 10:27:43 2007 +0000 +++ b/libmpdemux/muxer_mpeg.c Sun Feb 25 14:32:14 2007 +0000 @@ -1664,10 +1664,6 @@ if(s->buffer[3]) { // Sequence or GOP -- scan for Picture - /*while (ptr < len-5 && - (s->buffer[ptr] != 0 || s->buffer[ptr+1] != 0 || s->buffer[ptr+2] != 1 || s->buffer[ptr+3] != 0)) - ptr++;*/ - do_loop: while (ptr < len-5 && (s->buffer[ptr] != 0 || s->buffer[ptr+1] != 0 || s->buffer[ptr+2] != 1)) ptr++;