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

2017-11-13 Thread Aman Gupta
On Fri, Nov 10, 2017 at 1:50 PM, Rodger Combs 
wrote:

> Patchset LGTM.
>

Patchset applied. Thanks for the review.


>
> > On Nov 10, 2017, at 15:40, Aman Gupta  wrote:
> >
> > From: Aman Gupta 
> >
> > ---
> > 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
> >
>
>
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


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

2017-11-10 Thread Rodger Combs
Patchset LGTM.

> On Nov 10, 2017, at 15:40, Aman Gupta  wrote:
> 
> From: Aman Gupta 
> 
> ---
> 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
> 

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


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

2017-11-10 Thread Aman Gupta
From: Aman Gupta 

---
 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

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel