aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-02 18:00:31 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-09-07 00:48:27 +0200
commit274a5b7cdb4f7199ee8f04117d20459a60199de6 (patch)
tree4cac1796add1bbe726e613285cafdab941134071 /libavcodec/h263dec.c
parent95345e942cd5b8be6722d48e3f17782e97d09bde (diff)
downloadffmpeg-274a5b7cdb4f7199ee8f04117d20459a60199de6.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)
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index ff312b0935..5d4f03762d 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){