You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/videotoolbox: fix whitespace
Signed-off-by: Aman Gupta <aman@tmm1.net>
This commit is contained in:
@@ -88,7 +88,7 @@ int ff_videotoolbox_alloc_frame(AVCodecContext *avctx, AVFrame *frame)
|
|||||||
|
|
||||||
CFDataRef ff_videotoolbox_avcc_extradata_create(AVCodecContext *avctx)
|
CFDataRef ff_videotoolbox_avcc_extradata_create(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
H264Context *h = avctx->priv_data;
|
H264Context *h = avctx->priv_data;
|
||||||
CFDataRef data = NULL;
|
CFDataRef data = NULL;
|
||||||
uint8_t *p;
|
uint8_t *p;
|
||||||
int vt_extradata_size = 6 + 2 + h->ps.sps->data_size + 3 + h->ps.pps->data_size;
|
int vt_extradata_size = 6 + 2 + h->ps.sps->data_size + 3 + h->ps.pps->data_size;
|
||||||
@@ -897,7 +897,7 @@ static int videotoolbox_start(AVCodecContext *avctx)
|
|||||||
case kVTVideoDecoderMalfunctionErr:
|
case kVTVideoDecoderMalfunctionErr:
|
||||||
av_log(avctx, AV_LOG_VERBOSE, "VideoToolbox malfunction.\n");
|
av_log(avctx, AV_LOG_VERBOSE, "VideoToolbox malfunction.\n");
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
case kVTVideoDecoderBadDataErr :
|
case kVTVideoDecoderBadDataErr:
|
||||||
av_log(avctx, AV_LOG_VERBOSE, "VideoToolbox reported invalid data.\n");
|
av_log(avctx, AV_LOG_VERBOSE, "VideoToolbox reported invalid data.\n");
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
case 0:
|
case 0:
|
||||||
|
Reference in New Issue
Block a user