aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-06 04:09:43 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-09-07 00:29:02 +0200
commit4b8a0b058d05d9198534434d21384a0ee1b5a497 (patch)
tree296d01ee4e15ff81a14c762321b8d3b9e7f37350
parent1de90fd3758a71c5ff012e9288de07aa1b2915e0 (diff)
downloadffmpeg-4b8a0b058d05d9198534434d21384a0ee1b5a497.tar.gz
mpeg4: fix another packed divx issue.
Fixes getting_stuck.avi Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 6dbac85f8d20c77283e3d01f42a7c2154bbf976d)
-rw-r--r--libavcodec/h263dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 5a15bc4a44..e142c339c5 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -380,7 +380,7 @@ uint64_t time= rdtsc();
retry:
- if(s->divx_packed && s->xvid_build>=0 && s->bitstream_buffer_size){
+ if(s->divx_packed && s->bitstream_buffer_size){
int i;
for(i=0; i<buf_size-3; i++){
if(buf[i]==0 && buf[i+1]==0 && buf[i+2]==1){