diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-11 17:00:37 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-11 17:30:02 +0100 |
commit | 8b13a4d6f041fc9d9805420e4b567668491a75c7 (patch) | |
tree | 937d4cbc68192b8c13141eac4608b7438890f96f /libavcodec | |
parent | 855463c007719d8a9cddfa757a00ae5428b3dbde (diff) | |
download | ffmpeg-8b13a4d6f041fc9d9805420e4b567668491a75c7.tar.gz |
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>
Diffstat (limited to 'libavcodec')
-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 |