Commit 70ba8e2f authored by Amir Pauker's avatar Amir Pauker Committed by Michael Niedermayer

avcodec/error_resilience: set AVFrame decode_error_flags in case of decoding error

Signed-off-by: 's avatarAmir Pauker <amir@livelyvideo.tv>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent f6c572bd
......@@ -1121,6 +1121,8 @@ void ff_er_frame_end(ERContext *s)
av_log(s->avctx, AV_LOG_INFO, "concealing %d DC, %d AC, %d MV errors in %c frame\n",
dc_error, ac_error, mv_error, av_get_picture_type_char(s->cur_pic.f->pict_type));
s->cur_pic.f->decode_error_flags |= FF_DECODE_ERROR_CONCEALMENT_ACTIVE;
is_intra_likely = is_intra_more_likely(s);
/* set unknown mb-type to most likely */
......
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