mpeg4: fix another packed divx issue.

Fixes getting_stuck.avi

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/2/head
Michael Niedermayer 14 years ago
parent d543b3bb52
commit 6dbac85f8d
  1. 2
      libavcodec/h263dec.c

@ -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){

Loading…
Cancel
Save