[FFmpeg-devel] [PATCH v4 14/14] avcodec/videotoolbox: fix whitespace

Aman Gupta ffmpeg at tmm1.net
Tue Nov 14 00:40:13 EET 2017


On Fri, Nov 10, 2017 at 1:50 PM, Rodger Combs <rodger.combs at gmail.com>
wrote:

> Patchset LGTM.
>

Patchset applied. Thanks for the review.


>
> > On Nov 10, 2017, at 15:40, Aman Gupta <ffmpeg at tmm1.net> wrote:
> >
> > From: Aman Gupta <aman at tmm1.net>
> >
> > ---
> > libavcodec/videotoolbox.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c
> > index 9eb06e619f..04c558935d 100644
> > --- a/libavcodec/videotoolbox.c
> > +++ b/libavcodec/videotoolbox.c
> > @@ -88,7 +88,7 @@ int ff_videotoolbox_alloc_frame(AVCodecContext
> *avctx, AVFrame *frame)
> >
> > CFDataRef ff_videotoolbox_avcc_extradata_create(AVCodecContext *avctx)
> > {
> > -    H264Context *h     = avctx->priv_data;
> > +    H264Context *h = avctx->priv_data;
> >     CFDataRef data = NULL;
> >     uint8_t *p;
> >     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:
> >         av_log(avctx, AV_LOG_VERBOSE, "VideoToolbox malfunction.\n");
> >         return AVERROR(EINVAL);
> > -    case kVTVideoDecoderBadDataErr :
> > +    case kVTVideoDecoderBadDataErr:
> >         av_log(avctx, AV_LOG_VERBOSE, "VideoToolbox reported invalid
> data.\n");
> >         return AVERROR_INVALIDDATA;
> >     case 0:
> > --
> > 2.14.2
> >
>
>


More information about the ffmpeg-devel mailing list