]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/videotoolboxenc: remove unused variable
authorSteven Liu <lq@chinaffmpeg.org>
Thu, 11 Jul 2019 01:34:34 +0000 (09:34 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Thu, 11 Jul 2019 01:34:34 +0000 (09:34 +0800)
Signed-off-by: Steven Liu <lq@onvideo.cn>
libavcodec/videotoolboxenc.c

index f8ccdea52d609f69894b596577dc3dcce7c4fdb0..ff33c279c3aa6526d30107b0228d8c86185312b0 100644 (file)
@@ -2400,8 +2400,6 @@ static int vtenc_populate_extradata(AVCodecContext   *avctx,
         goto pe_cleanup;
     }
 
-    unsigned pbuftype = CVPixelBufferGetPixelFormatType(pix_buf);
-
     time = CMTimeMake(0, avctx->time_base.den);
     status = VTCompressionSessionEncodeFrame(vtctx->session,
                                              pix_buf,