[FFmpeg-cvslog] mpeg4: fix another packed divx issue.

Michael Niedermayer git at videolan.org
Tue Sep 6 04:17:18 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Sep  6 04:09:43 2011 +0200| [6dbac85f8d20c77283e3d01f42a7c2154bbf976d] | committer: Michael Niedermayer

mpeg4: fix another packed divx issue.
Fixes getting_stuck.avi

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6dbac85f8d20c77283e3d01f42a7c2154bbf976d
---

 libavcodec/h263dec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 400e0d9..2887805 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -382,7 +382,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){



More information about the ffmpeg-cvslog mailing list