From feca25cc8bd7a80207dea5e81280f77695344a12 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 9 Dec 2003 14:03:55 +0000 Subject: [PATCH] 100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l Originally committed as revision 2582 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h263.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 3bf5f70..d7fb3a2 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -3144,7 +3144,6 @@ int ff_h263_resync(MpegEncContext *s){ align_get_bits(&s->gb); } -//printf("checking next 16 %X\n", show_bits(&s->gb, 24)); if(show_bits(&s->gb, 16)==0){ if(s->codec_id==CODEC_ID_MPEG4) ret= mpeg4_decode_video_packet_header(s); @@ -3156,7 +3155,6 @@ int ff_h263_resync(MpegEncContext *s){ //ok, its not where its supposed to be ... s->gb= s->last_resync_gb; align_get_bits(&s->gb); -printf("align %X\n", show_bits(&s->gb, 24)); left= s->gb.size_in_bits - get_bits_count(&s->gb); for(;left>16+1+5+5; left-=8){ @@ -3174,7 +3172,7 @@ printf("align %X\n", show_bits(&s->gb, 24)); } skip_bits(&s->gb, 8); } -printf("no resync\n"); + return -1; } -- 2.7.4