[FFmpeg-cvslog] mpegvideo: Drop a stray error message

Luca Barbato git at videolan.org
Mon Sep 7 16:10:15 CEST 2015


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Wed Sep  2 13:55:47 2015 +0200| [5a1a9da8a7ae120f2543b8f2fa13dc8baac39f17] | committer: Luca Barbato

mpegvideo: Drop a stray error message

The condition is not a failure.

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

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

diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index ae6fb7e..c5e8040 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1068,9 +1068,6 @@ int ff_mpv_frame_start(MpegEncContext *s, AVCodecContext *avctx)
         if (&s->picture[i] != s->last_picture_ptr &&
             &s->picture[i] != s->next_picture_ptr &&
             s->picture[i].reference && !s->picture[i].needs_realloc) {
-            if (!(avctx->active_thread_type & FF_THREAD_FRAME))
-                av_log(avctx, AV_LOG_ERROR,
-                       "releasing zombie picture\n");
             ff_mpeg_unref_picture(s->avctx, &s->picture[i]);
         }
     }



More information about the ffmpeg-cvslog mailing list