Browse Source

avcodec/videotoolboxenc: remove unused variable

Signed-off-by: Steven Liu <lq@onvideo.cn>
tags/n4.2
Steven Liu 6 years ago
parent
commit
092bd1e54f
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/videotoolboxenc.c

+ 0
- 2
libavcodec/videotoolboxenc.c View File

@@ -2400,8 +2400,6 @@ static int vtenc_populate_extradata(AVCodecContext *avctx,
goto pe_cleanup; goto pe_cleanup;
} }


unsigned pbuftype = CVPixelBufferGetPixelFormatType(pix_buf);

time = CMTimeMake(0, avctx->time_base.den); time = CMTimeMake(0, avctx->time_base.den);
status = VTCompressionSessionEncodeFrame(vtctx->session, status = VTCompressionSessionEncodeFrame(vtctx->session,
pix_buf, pix_buf,


Loading…
Cancel
Save