Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-11 19:00:37 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-01-11 19:30:02 +0300
commit8b13a4d6f041fc9d9805420e4b567668491a75c7 (patch)
tree937d4cbc68192b8c13141eac4608b7438890f96f /libavcodec/error_resilience.c
parent855463c007719d8a9cddfa757a00ae5428b3dbde (diff)
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/error_resilience.c')
-rw-r--r--libavcodec/error_resilience.c3
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