From 092bd1e54fefb72f1bc84eb7ab945113480ba67c Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Thu, 11 Jul 2019 09:34:34 +0800 Subject: [PATCH] avcodec/videotoolboxenc: remove unused variable Signed-off-by: Steven Liu --- libavcodec/videotoolboxenc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index f8ccdea52d..ff33c279c3 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@ -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,