Signed-off-by: Steven Liu <[email protected]>
---
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)
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".