avcodec/error_resilience: Remove special case for H.264 from is_intra_more_likely
This should not be needed Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
855463c007
commit
8b13a4d6f0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user