Revision 3088635a

View differences:

libavcodec/h263dec.c
387 387
        int i;
388 388
        for(i=0; i<buf_size-3; i++){
389 389
            if(buf[i]==0 && buf[i+1]==0 && buf[i+2]==1){
390
                if(buf[i+3]==0xB0)
390
                if(buf[i+3]==0xB0){
391
                    av_log(s->avctx, AV_LOG_WARNING, "Discarding excessive bitstream in packed xvid\n");
391 392
                    s->bitstream_buffer_size=0;
393
                }
392 394
                break;
393 395
            }
394 396
        }

Also available in: Unified diff