]> git.sesse.net Git - ffmpeg/commitdiff
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 ae6fb7e9a5a05387ab190cd9fbf10b4843eda1a7..c5e8040758bd6d70a12a3abb03619df253d78b0f 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]);
         }
     }