Commit bba3a09b authored by Michael Niedermayer's avatar Michael Niedermayer

h263 GOB decoding fix

Originally committed as revision 2364 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 34790165
...@@ -2843,10 +2843,10 @@ void ff_mpeg4_clean_buffers(MpegEncContext *s) ...@@ -2843,10 +2843,10 @@ void ff_mpeg4_clean_buffers(MpegEncContext *s)
int ff_h263_resync(MpegEncContext *s){ int ff_h263_resync(MpegEncContext *s){
int left, ret; int left, ret;
if(s->codec_id==CODEC_ID_MPEG4) if(s->codec_id==CODEC_ID_MPEG4){
skip_bits1(&s->gb); skip_bits1(&s->gb);
align_get_bits(&s->gb); align_get_bits(&s->gb);
}
if(show_bits(&s->gb, 16)==0){ if(show_bits(&s->gb, 16)==0){
if(s->codec_id==CODEC_ID_MPEG4) if(s->codec_id==CODEC_ID_MPEG4)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment