Re: [FFmpeg-devel] [PATCH] configure: Check for SecItemImport for securetransport as well

2015-05-31 Thread Michael Niedermayer
On Sat, May 30, 2015 at 10:05:32PM -0500, Rodger Combs wrote: > This fixes the default build on iOS; eventually I should come up with > a better solution for that platform. > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied thanks [...] -- Michael GnuPG finge

Re: [FFmpeg-devel] [PATCH] tests: add some ASS/SSA/MKS remux and transcode tests

2015-05-31 Thread Clément Bœsch
On Mon, May 25, 2015 at 05:56:11PM +0200, Michael Niedermayer wrote: > On Mon, May 25, 2015 at 02:33:49PM +0200, Clément Bœsch wrote: > > --- > > > > http://b.pkh.me/1ededcbd7b.ass > > http://b.pkh.me/a9-misc.ssa > > samples uploaded > > patch should be ok in 24h > Applied, thanks It Would be

Re: [FFmpeg-devel] [PATCH] avformat/concatdec: Check that the opened file contains a stream.

2015-05-31 Thread Nicolas George
Le duodi 12 prairial, an CCXXIII, Michael Niedermayer a écrit : > Fixes segfault from ticket 4350 Not ok. concat should work with files with no streams, especially if streams can be discovered later. The bug you are trying to fix is in mxfdec.c: static int mxf_read_packet(AVFormatContext *s, AVP

Re: [FFmpeg-devel] [PATCH] avformat/concatdec: Check that the opened file contains a stream.

2015-05-31 Thread Michael Niedermayer
On Sun, May 31, 2015 at 12:35:37PM +0200, Nicolas George wrote: > Le duodi 12 prairial, an CCXXIII, Michael Niedermayer a écrit : > > Fixes segfault from ticket 4350 > > Not ok. concat should work with files with no streams, especially if streams > can be discovered later. iam not sure that this

[FFmpeg-devel] [PATCH] avformat/mxfdec: return error instead of segfaulting if there are no streams

2015-05-31 Thread Michael Niedermayer
Fixes segfault from ticket 4350 Signed-off-by: Michael Niedermayer --- libavformat/mxfdec.c |4 1 file changed, 4 insertions(+) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index c8f1c61..78e2393 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -2995,6 +2995,

Re: [FFmpeg-devel] Test case for Closed caption decoder.

2015-05-31 Thread Clément Bœsch
On Tue, May 05, 2015 at 08:37:03PM +0530, Anshul wrote: > > > On 05/05/2015 08:33 PM, Anshul wrote: > > > > > >On 05/04/2015 08:50 PM, Michael Niedermayer wrote: > >> > >>this is 31mb, that does not seem reasonable for a subtitle test, > >>please provide a smaller file, like one without unused/un

Re: [FFmpeg-devel] Test case for Closed caption decoder.

2015-05-31 Thread Michael Niedermayer
On Sun, May 31, 2015 at 01:59:44PM +0200, Clément Bœsch wrote: > On Tue, May 05, 2015 at 08:37:03PM +0530, Anshul wrote: > > > > > > On 05/05/2015 08:33 PM, Anshul wrote: > > > > > > > > >On 05/04/2015 08:50 PM, Michael Niedermayer wrote: > > >> > > >>this is 31mb, that does not seem reasonable f

Re: [FFmpeg-devel] Off topic question about format specifiers in the C stdlib

2015-05-31 Thread Marcus Johnson
No, I'm writing my own codec from the ground up; not an implementation of one that already exists based on a standardized codec like jpeg, but my own from scratch. I noticed that printf and scanf support format specifiers, so I was wondering if there was a function like getopt, but specifically fo

Re: [FFmpeg-devel] [PATCH] * mpegts demuxer should recognize private streams

2015-05-31 Thread Wolfgang Lorenz
Am Sat, 30 May 2015 12:58:38 +0200 schrieb Hendrik Leppkes : > On Sat, May 30, 2015 at 12:39 PM, Wolfgang Lorenz wrote: > > Am Sat, 30 May 2015 11:00:18 +0200 > > schrieb Wolfgang Lorenz : > > > > [...] > > > > Okay. Now I get the same errors Michael had, after the first version of > > the patch,

Re: [FFmpeg-devel] [PATCH 1/3] avformat/libquvi: fix error handling

2015-05-31 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 07:16:36PM +0200, Gilles Chanteperdrix wrote: > avoid calling cleanup functions on uninitialized variables > > Signed-off-by: Gilles Chanteperdrix > --- > libavformat/libquvi.c | 41 + > 1 file changed, 25 insertions(+), 16 deletion

[FFmpeg-devel] [PATCH 2/2] x86: check for AV_CPU_FLAG_AVXSLOW where useful

2015-05-31 Thread James Almer
Signed-off-by: James Almer --- I will not touch the AVX2 functions until i get the confimation that AMD's Excavator has the same issue as its predecesors. libavcodec/x86/dcadsp_init.c | 4 ++-- libavcodec/x86/dct_init.c | 2 +- libavcodec/x86/fft_init.c | 2 +-

[FFmpeg-devel] [PATCH 1/2] x86/cpu: add helper macros to check for slow cpuflags

2015-05-31 Thread James Almer
Signed-off-by: James Almer --- libavutil/cpu_internal.h | 12 libavutil/x86/cpu.h | 18 ++ 2 files changed, 30 insertions(+) diff --git a/libavutil/cpu_internal.h b/libavutil/cpu_internal.h index 3c6ce6d..8df832a 100644 --- a/libavutil/cpu_internal.h +++ b/libav

Re: [FFmpeg-devel] [PATCH 1/2] x86/cpu: add helper macros to check for slow cpuflags

2015-05-31 Thread Michael Niedermayer
On Sun, May 31, 2015 at 02:20:28PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavutil/cpu_internal.h | 12 > libavutil/x86/cpu.h | 18 ++ > 2 files changed, 30 insertions(+) merged a variant of this, didnt see the patch before [...] -- Mi

Re: [FFmpeg-devel] [PATCH 2/2] x86: check for AV_CPU_FLAG_AVXSLOW where useful

2015-05-31 Thread Michael Niedermayer
On Sun, May 31, 2015 at 02:20:29PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > I will not touch the AVX2 functions until i get the confimation that AMD's > Excavator has the same issue as its predecesors. applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF67

Re: [FFmpeg-devel] [libav-devel] [PATCH] libopenjpegdec: check existence of image component data

2015-05-31 Thread Andreas Cadhalpun
On 31.05.2015 11:11, Luca Barbato wrote: > On 30/05/15 20:00, Andreas Cadhalpun wrote: >> +memset(&ctx->event_mgr, 0, sizeof(opj_event_mgr_t)); > > usually the size is sizeof(*actualpoint) Yes that's better, patch updated. I just copied this from libopenjpegenc.c, so it should be fixed there

[FFmpeg-devel] [PATCH] libopenjpegenc: add NULL check for img before accessing it

2015-05-31 Thread Andreas Cadhalpun
If opj_image_create fails to allocate an image it returns NULL, which causes a segmentation fault at 'img->x0 = 0'. Signed-off-by: Andreas Cadhalpun --- libavcodec/libopenjpegenc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/libopenjpegenc.c b/libavcodec/libopenjpegenc.c in

[FFmpeg-devel] [PATCH] avcodec: loongson3 optimized h264chroma put and avg with mmi

2015-05-31 Thread 周晓勇
>From 671813a26715d9d2c1b0ef9da9e4da458b709e50 Mon Sep 17 00:00:00 2001 From: ZhouXiaoyong Date: Fri, 17 Apr 2015 17:09:06 +0800 Subject: [PATCH] avcodec: loongson3 optimized h264chroma put and avg with mmi Signed-off-by: ZhouXiaoyong --- libavcodec/h264chroma.c| 2 + libavco

[FFmpeg-devel] [PATCH] nvenc: remove cuda.h requirement for nvenc_a

2015-05-31 Thread James Almer
Untested. Signed-off-by: James Almer --- configure | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 748b626..f691655 100755 --- a/configure +++ b/configure @@ -1672,6 +1672,7 @@ HEADERS_LIST=" asm_types_h cdio_paranoia_h cdio_p

Re: [FFmpeg-devel] [PATCH] nvenc: remove cuda.h requirement for nvenc_a

2015-05-31 Thread Philip Langdale
On Mon, 1 Jun 2015 00:53:54 -0300 James Almer wrote: > Untested. > > Signed-off-by: James Almer > --- > configure | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/configure b/configure > index 748b626..f691655 100755 > --- a/configure > +++ b/configure > @@ -16

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: Correct klv_fill_key

2015-05-31 Thread tim nicholson
On 29/05/15 23:26, Michael Niedermayer wrote: > See SMPTE 377-1-2009 6.3.3 KLV Fill Items > > Signed-off-by: Michael Niedermayer > --- > libavformat/mxfenc.c|2 +- > tests/ref/lavf/mxf |6 +++--- > tests/ref/lavf/mxf_d10 |2 +- > tests/ref/lavf/mxf_o