[FFmpeg-cvslog] h264: remove a stale comment

Anton Khirnov git at videolan.org
Sun Jun 19 13:49:07 CEST 2016


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Apr 11 14:17:10 2016 +0200| [5b35b290dd76db64f079b3940f6148c8f273fc17] | committer: Anton Khirnov

h264: remove a stale comment

This comment used to apply to code that was removed.

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

 libavcodec/h264.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 9280fb9..434d561 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -657,8 +657,6 @@ static void decode_postinit(H264Context *h, int setup_finished)
 
     if (pics > h->avctx->has_b_frames) {
         out->reference &= ~DELAYED_PIC_REF;
-        // for frame threading, the owner must be the second field's thread or
-        // else the first thread can release the picture and reuse it unsafely
         for (i = out_idx; h->delayed_pic[i]; i++)
             h->delayed_pic[i] = h->delayed_pic[i + 1];
     }



More information about the ffmpeg-cvslog mailing list