[FFmpeg-cvslog] h261dec: correct AV_EF flags.

Michael Niedermayer git at videolan.org
Sat Nov 19 04:17:28 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Nov 19 03:16:00 2011 +0100| [0af8d20755f051f7cd7f2a9d21241c21c1b96818] | committer: Michael Niedermayer

h261dec: correct AV_EF flags.

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

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

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

diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index 17abc64..186fe9a 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -136,7 +136,7 @@ static int h261_decode_gob_header(H261Context *h){
 
     if(s->qscale==0) {
         av_log(s->avctx, AV_LOG_ERROR, "qscale has forbidden 0 value\n");
-        if (s->avctx->err_recognition & AV_EF_BITSTREAM)
+        if (s->avctx->err_recognition & (AV_EF_BITSTREAM | AV_EF_COMPLIANT))
             return -1;
     }
 



More information about the ffmpeg-cvslog mailing list