avcodec/videotoolboxenc: remove unused variable

Signed-off-by: Steven Liu <lq@onvideo.cn>
pull/316/head
Steven Liu 6 years ago
parent 74d4fd0822
commit 092bd1e54f
  1. 2
      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,

Loading…
Cancel
Save