diff options
-rw-r--r-- | libavcodec/error_resilience.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c index c72c562078..2a4de4343a 100644 --- a/libavcodec/error_resilience.c +++ b/libavcodec/error_resilience.c @@ -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 |