Module: libav
Branch: master
Commit: 5a1a9da8a7ae120f2543b8f2fa13dc8baac39f17

Author:    Luca Barbato <[email protected]>
Committer: Luca Barbato <[email protected]>
Date:      Wed Sep  2 13:55:47 2015 +0200

mpegvideo: Drop a stray error message

The condition is not a failure.

---

 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]);
         }
     }

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to