summaryrefslogtreecommitdiff
path: root/libavcodec/h261dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/h261dec.c')
-rw-r--r--libavcodec/h261dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index 5369830c47..3f21eb8263 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -135,7 +135,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_resilience >= FF_ER_COMPLIANT)
+ if (s->avctx->error_recognition >= FF_ER_COMPLIANT)
return -1;
}