diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-09-02 18:00:31 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-09-07 00:36:55 +0200 |
commit | 414a6a9e6b84189199adc502ec464f0c189ca434 (patch) | |
tree | fa25a987e7b6c8da8f8d723616ad5de59a7af08c | |
parent | a5e3fe37690a85ec46621e73048e55d4b8c0e1e7 (diff) | |
download | ffmpeg-414a6a9e6b84189199adc502ec464f0c189ca434.tar.gz |
mpeg4: adjust dummy frame threashold for packed divx.
Fixes Ticket427
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 3e7e1f1509e6a84bd7873586a66de1ee43c8ef88)
-rw-r--r-- | libavcodec/h263dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 3b8b5804b1..267a2c0cef 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -689,7 +689,7 @@ frame_end: int current_pos= s->gb.buffer == s->bitstream_buffer ? 0 : (get_bits_count(&s->gb)>>3); int startcode_found=0; - if(buf_size - current_pos > 5){ + if(buf_size - current_pos > 7){ int i; for(i=current_pos; i<buf_size-4; i++){ if(buf[i]==0 && buf[i+1]==0 && buf[i+2]==1 && buf[i+3]==0xB6){ |