summaryrefslogtreecommitdiff
path: root/libavcodec/videotoolboxenc.c
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2019-07-11 09:34:34 +0800
committerSteven Liu <lq@chinaffmpeg.org>2019-07-11 09:34:34 +0800
commit092bd1e54fefb72f1bc84eb7ab945113480ba67c (patch)
tree114191ec3ee72aeb4125c6af301e350795de1797 /libavcodec/videotoolboxenc.c
parent74d4fd0822c39809c8f1fdc0efc672bee5cacfc7 (diff)
avcodec/videotoolboxenc: remove unused variable
Signed-off-by: Steven Liu <lq@onvideo.cn>
Diffstat (limited to 'libavcodec/videotoolboxenc.c')
-rw-r--r--libavcodec/videotoolboxenc.c2
1 files changed, 0 insertions, 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,