Commit 0af8d207 authored by Michael Niedermayer's avatar Michael Niedermayer

h261dec: correct AV_EF flags.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b0ccebe4
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment