]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h261dec.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavcodec / h261dec.c
index 96ebb240273d04dd323430b88c46799799cbd48c..17abc64a6028f80f97c835772f0019fc9e06eca1 100644 (file)
@@ -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->error_recognition >= FF_ER_COMPLIANT)
+        if (s->avctx->err_recognition & AV_EF_BITSTREAM)
             return -1;
     }