avcodec/videotoolboxenc: remove unused variable

Signed-off-by: Steven Liu <lq@onvideo.cn>
This commit is contained in:
Steven Liu 2019-07-11 09:34:34 +08:00
parent 74d4fd0822
commit 092bd1e54f
1 changed files with 0 additions and 2 deletions

View File

@ -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,