1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

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

View File

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