Commit 8b13a4d6 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/error_resilience: Remove special case for H.264 from is_intra_more_likely

This should not be needed
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 855463c0
......@@ -697,9 +697,6 @@ static int is_intra_more_likely(ERContext *s)
undamaged_count++;
}
if (s->avctx->codec_id == AV_CODEC_ID_H264 && s->ref_count <= 0)
return 1;
if (undamaged_count < 5)
return 0; // almost all MBs damaged -> use temporal prediction
......
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