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 f8ccdea..ff33c27 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,