aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-01-01 21:32:48 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-01-01 21:32:48 +0000
commit24b207b5a5583bb90ff1f1afe58a8305dee1069c (patch)
treedcf79310992e6467bb75764232e2335ba6b9161a /libavcodec
parent6c58758737cf540f79b31f64dc10e3cdc4719f0c (diff)
downloadffmpeg-24b207b5a5583bb90ff1f1afe58a8305dee1069c.tar.gz
Adjust threshold for xvid packed b frame detection.
Also add xvid_build check. If you note any packed bitstream regression, check this commit first and report it. Fixes issue1652 Originally committed as revision 20997 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h263dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 02c75edf9d..8a903f2fb2 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -682,7 +682,7 @@ retry:
}
}
}
- if(s->gb.buffer == s->bitstream_buffer && buf_size>20){ //xvid style
+ if(s->gb.buffer == s->bitstream_buffer && buf_size>7 && s->xvid_build){ //xvid style
startcode_found=1;
current_pos=0;
}