h264: remove a stale comment
authorAnton Khirnov <anton@khirnov.net>
Mon, 11 Apr 2016 12:17:10 +0000 (14:17 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 24 Apr 2016 08:06:24 +0000 (10:06 +0200)
This comment used to apply to code that was removed.

libavcodec/h264.c

index 9280fb9..434d561 100644 (file)
@@ -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];
     }