mpeg4: fix another packed divx issue.

Fixes getting_stuck.avi

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-09-06 04:09:43 +02:00
parent d543b3bb52
commit 6dbac85f8d
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ uint64_t time= rdtsc();
retry:
if(s->divx_packed && s->xvid_build>=0 && s->bitstream_buffer_size){
if(s->divx_packed && s->bitstream_buffer_size){
int i;
for(i=0; i<buf_size-3; i++){
if(buf[i]==0 && buf[i+1]==0 && buf[i+2]==1){