mpegvideo: Drop a stray error message
authorLuca Barbato <lu_zero@gentoo.org>
Wed, 2 Sep 2015 11:55:47 +0000 (13:55 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Thu, 3 Sep 2015 11:39:34 +0000 (13:39 +0200)
The condition is not a failure.

libavcodec/mpegvideo.c

index ae6fb7e..c5e8040 100644 (file)
@@ -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]);
         }
     }