[FFmpeg-cvslog] avcodec/videotoolboxenc: remove unused variable
Steven Liu
git at videolan.org
Thu Jul 11 07:26:04 EEST 2019
ffmpeg | branch: master | Steven Liu <lq at chinaffmpeg.org> | Thu Jul 11 09:34:34 2019 +0800| [092bd1e54fefb72f1bc84eb7ab945113480ba67c] | committer: Steven Liu
avcodec/videotoolboxenc: remove unused variable
Signed-off-by: Steven Liu <lq at onvideo.cn>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=092bd1e54fefb72f1bc84eb7ab945113480ba67c
---
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,
More information about the ffmpeg-cvslog
mailing list