[FFmpeg-cvslog] avcodec/error_resilience: Remove special case for H.264 from is_intra_more_likely

Michael Niedermayer git at videolan.org
Sun Jan 11 17:42:27 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jan 11 17:00:37 2015 +0100| [8b13a4d6f041fc9d9805420e4b567668491a75c7] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8b13a4d6f041fc9d9805420e4b567668491a75c7
---

 libavcodec/error_resilience.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c
index c72c562..2a4de43 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
 



More information about the ffmpeg-cvslog mailing list