[FFmpeg-devel] [PATCH 2/3] avcodec/videotoolboxenc: remove unused variable
Steven Liu
lq at chinaffmpeg.org
Thu Jun 27 10:38:04 EEST 2019
Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
---
libavcodec/videotoolboxenc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index 3665581283..67faca4751 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/libavcodec/videotoolboxenc.c
@@ -2395,8 +2395,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,
--
2.17.2 (Apple Git-113)
More information about the ffmpeg-devel
mailing list