Re: [FFmpeg-devel] [PATCH] ffmpeg: merge extradata checks in write_frame

2016-09-01 Thread Michael Niedermayer
On Thu, Sep 01, 2016 at 05:14:45PM +0200, Clément Bœsch wrote: > From: Clément Bœsch > > --- > ffmpeg.c | 19 +-- > 1 file changed, 5 insertions(+), 14 deletions(-) > > diff --git a/ffmpeg.c b/ffmpeg.c > index 3229823..493b605 100644 > --- a/ffmpeg.c > +++ b/ffmpeg.c > @@ -638,1

Re: [FFmpeg-devel] [PATCH] ffmpeg: merge extradata checks in write_frame

2016-09-01 Thread Clément Bœsch
On Thu, Sep 01, 2016 at 05:14:45PM +0200, Clément Bœsch wrote: > From: Clément Bœsch > > --- > ffmpeg.c | 19 +-- > 1 file changed, 5 insertions(+), 14 deletions(-) > > diff --git a/ffmpeg.c b/ffmpeg.c > index 3229823..493b605 100644 > --- a/ffmpeg.c > +++ b/ffmpeg.c > @@ -638,1

[FFmpeg-devel] [PATCH] ffmpeg: merge extradata checks in write_frame

2016-09-01 Thread Clément Bœsch
From: Clément Bœsch --- ffmpeg.c | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index 3229823..493b605 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -638,11 +638,11 @@ static void write_frame(AVFormatContext *s, AVPacket *pkt, OutputStream