Commit befcf0b6 authored by michael's avatar michael

It appears s->bitstream_buffer_size has to be 0 at the end so rather use assert.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20996 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d708d10b
......@@ -667,8 +667,9 @@ retry:
s->error_status_table[s->mb_num-1]= AC_ERROR|DC_ERROR|MV_ERROR;
}
assert(s->bitstream_buffer_size==0);
/* divx 5.01+ bistream reorder stuff */
if(s->codec_id==CODEC_ID_MPEG4 && s->bitstream_buffer_size==0 && s->divx_packed){
if(s->codec_id==CODEC_ID_MPEG4 && s->divx_packed){
int current_pos= get_bits_count(&s->gb)>>3;
int startcode_found=0;
......
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