Commit 092bd1e5 authored by Steven Liu's avatar Steven Liu

avcodec/videotoolboxenc: remove unused variable

Signed-off-by: 's avatarSteven Liu <lq@onvideo.cn>
parent 74d4fd08
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment