[FFmpeg-devel] [PATCH] fate/fits: add new test & gen few samples automatically

2017-08-26 Thread Paras Chadha
Signed-off-by: Paras Chadha --- All other FITS patches need to be applied before this one. tests/fate/demux.mak| 3 +- tests/fate/fits.mak | 57 ++--- tests/ref/fate/fitsdec-bitpix-32| 6 tests/ref/fate/fitsdec-bi

Re: [FFmpeg-devel] [PATCH] avfilter/af_amix: switch to activate

2017-08-26 Thread Michael Niedermayer
On Sat, Aug 26, 2017 at 10:22:38PM -0300, James Almer wrote: > On 8/26/2017 9:59 PM, Michael Niedermayer wrote: > > On Sat, Aug 26, 2017 at 05:53:18PM +0200, Paul B Mahol wrote: > >> Really fixes hangs and infinite loops. > >> > >> Signed-off-by: Paul B Mahol > >> --- > >> libavfilter/af_amix.c |

[FFmpeg-devel] [PATCH v4] avcodec/snowenc: fix setting motion_est option

2017-08-26 Thread James Almer
Remove usage of FF_MPV_COMMON_OPTS, and set SnowContext.motion_est directly. Based on code from svq1enc.c Signed-off-by: James Almer --- libavcodec/snow.h| 3 ++- libavcodec/snowenc.c | 11 +++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libavcodec/snow.h b/libavc

Re: [FFmpeg-devel] [PATCH v3] avcodec/snowenc: fix setting motion_est option

2017-08-26 Thread Michael Niedermayer
On Sat, Aug 26, 2017 at 03:21:43PM -0300, James Almer wrote: > Remove usage of FF_MPV_COMMON_OPTS, and set SnowContext.motion_est directly. > Based on code from svq1enc.c > > Signed-off-by: James Almer > --- > libavcodec/snow.h| 3 ++- > libavcodec/snowenc.c | 11 +++ > 2 files chan

Re: [FFmpeg-devel] [PATCH] avfilter/af_amix: switch to activate

2017-08-26 Thread James Almer
On 8/26/2017 9:59 PM, Michael Niedermayer wrote: > On Sat, Aug 26, 2017 at 05:53:18PM +0200, Paul B Mahol wrote: >> Really fixes hangs and infinite loops. >> >> Signed-off-by: Paul B Mahol >> --- >> libavfilter/af_amix.c | 161 >> +- >> 1 file chan

Re: [FFmpeg-devel] [PATCH] avfilter/af_amix: switch to activate

2017-08-26 Thread Michael Niedermayer
On Sat, Aug 26, 2017 at 05:53:18PM +0200, Paul B Mahol wrote: > Really fixes hangs and infinite loops. > > Signed-off-by: Paul B Mahol > --- > libavfilter/af_amix.c | 161 > +- > 1 file changed, 81 insertions(+), 80 deletions(-) This breaks fate:

Re: [FFmpeg-devel] configure : add "avx2 enabled" log

2017-08-26 Thread James Almer
On 8/26/2017 4:32 PM, Martin Vignali wrote: > Hello, > > in attach patch to add to the output of the configure > a line for avx2 enabled (yes/no) > > Martin Applied, thanks. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailma

[FFmpeg-devel] configure : add "avx2 enabled" log

2017-08-26 Thread Martin Vignali
Hello, in attach patch to add to the output of the configure a line for avx2 enabled (yes/no) Martin 0002-configure-add-avx2-enabled-log.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/lis

[FFmpeg-devel] [PATCH v3] avcodec/snowenc: fix setting motion_est option

2017-08-26 Thread James Almer
Remove usage of FF_MPV_COMMON_OPTS, and set SnowContext.motion_est directly. Based on code from svq1enc.c Signed-off-by: James Almer --- libavcodec/snow.h| 3 ++- libavcodec/snowenc.c | 11 +++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libavcodec/snow.h b/libavc

[FFmpeg-devel] libavcodec/exr : add SSE SIMD for reorder_pixels v2 (WIP)

2017-08-26 Thread Martin Vignali
Hello, in attach new patch for SSE simd of reorder pixels in exr decoder (use by zip and rle uncompress), after comments on the previous patch by Ivan Kalvachev. After testing only on a small buffer, i fix the overread problem of the previous patch (who hid the last loop trouble) pass fate test

Re: [FFmpeg-devel] [PATCH] avfilter/af_amix: switch to activate

2017-08-26 Thread Nicolas George
Le nonidi 9 fructidor, an CCXXV, Paul B Mahol a écrit : > Really fixes hangs and infinite loops. > > Signed-off-by: Paul B Mahol > --- > libavfilter/af_amix.c | 161 > +- > 1 file changed, 81 insertions(+), 80 deletions(-) > > diff --git a/libavf

[FFmpeg-devel] [PATCH] avfilter/af_amix: switch to activate

2017-08-26 Thread Paul B Mahol
Really fixes hangs and infinite loops. Signed-off-by: Paul B Mahol --- libavfilter/af_amix.c | 161 +- 1 file changed, 81 insertions(+), 80 deletions(-) diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c index 78be57a..989fd84 100644 --- a

Re: [FFmpeg-devel] FFmpeg 3.4

2017-08-26 Thread Michael Niedermayer
On Sat, Aug 26, 2017 at 12:32:08PM -0300, James Almer wrote: > On 8/26/2017 12:20 PM, Michael Niedermayer wrote: > > On Sat, Aug 26, 2017 at 11:03:27AM -0300, James Almer wrote: > >> On 8/26/2017 6:28 AM, Michael Niedermayer wrote: > >>> Hi all > >>> > >>> Its a while since FFmpeg 3.3, so its time

Re: [FFmpeg-devel] FFmpeg 3.4

2017-08-26 Thread James Almer
On 8/26/2017 12:20 PM, Michael Niedermayer wrote: > On Sat, Aug 26, 2017 at 11:03:27AM -0300, James Almer wrote: >> On 8/26/2017 6:28 AM, Michael Niedermayer wrote: >>> Hi all >>> >>> Its a while since FFmpeg 3.3, so its time again to make a new release >>> >>> I intend to make 3.4 in the next week

Re: [FFmpeg-devel] FFmpeg 3.4

2017-08-26 Thread Michael Niedermayer
On Sat, Aug 26, 2017 at 11:03:27AM -0300, James Almer wrote: > On 8/26/2017 6:28 AM, Michael Niedermayer wrote: > > Hi all > > > > Its a while since FFmpeg 3.3, so its time again to make a new release > > > > I intend to make 3.4 in the next weeks > > Name suggestions needed like always > > Coul

[FFmpeg-devel] [PATCH] avcodec/snowenc: fix setting motion_est option

2017-08-26 Thread James Almer
Remove usage of FF_MPV_COMMON_OPTS, and set SnowContext.motion_est directly. Based on code from svq1enc.c Signed-off-by: James Almer --- libavcodec/snow.h| 3 ++- libavcodec/snowenc.c | 11 +++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libavcodec/snow.h b/libavc

Re: [FFmpeg-devel] FFmpeg 3.4

2017-08-26 Thread James Almer
On 8/26/2017 6:28 AM, Michael Niedermayer wrote: > Hi all > > Its a while since FFmpeg 3.3, so its time again to make a new release > > I intend to make 3.4 in the next weeks > Name suggestions needed like always Could this wait until after the major bump? I'm currently working on cherry picking

[FFmpeg-devel] [PATCH 1/2] avcodec/sbrdsp_fixed: Fix undefined overflows in autocorrelate()

2017-08-26 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: 8903997421129740175 + 354481484684609529 cannot be represented in type 'long' Fixes: 2045/clusterfuzz-testcase-minimized-6751255865065472 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-

[FFmpeg-devel] [PATCH 2/2] avcodec/aacpsdsp_template: Fix undefined integer overflow in ps_add_squares_c()

2017-08-26 Thread Michael Niedermayer
Fixes runtime error: signed integer overflow: 1997494407 + 613252359 cannot be represented in type 'int' Fixes: 2014/clusterfuzz-testcase-minimized-5186337030275072 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niederma

[FFmpeg-devel] [PATCH]lavf/gdv: Improve palette saturation

2017-08-26 Thread Carl Eugen Hoyos
Hi! Attached patch slightly improves the saturation of the gdv palette. Please comment, Carl Eugen From bbc00affb218ebe2b8074fea514bf25bbca5f890 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 26 Aug 2017 12:59:11 +0200 Subject: [PATCH] lavf/gdv: Improve saturation of gdv palette. --

Re: [FFmpeg-devel] [PATCH] Properly store sampling rate for FLAC in mp4

2017-08-26 Thread Carl Eugen Hoyos
2017-08-25 13:25 GMT+02:00 Jean-Yves Avenard : > +if (track->par->codec_id == AV_CODEC_ID_FLAC) { Why does this only apply to flac? Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-d

Re: [FFmpeg-devel] [PATCH] libavformat/mov: Always use av_realloc() for AVCodecParameters.extradata

2017-08-26 Thread Carl Eugen Hoyos
2017-08-26 11:43 GMT+02:00 Michael Niedermayer : > The fix to this is to make av_malloc() and av_realloc() compatible. > > Does tcmalloc() provide sufficient alignment ? This report indicates it defaults to 16 bytes: https://github.com/gperftools/gperftools/issues/433 But they intend to raise th

[FFmpeg-devel] [PATCH]lavf/sdp: Fix MIME-type for big-endian G.726 audio.

2017-08-26 Thread Carl Eugen Hoyos
Hi! Attached patch follows RFC 3551, a followup patch adds little-endian G.726 with the old MIME-type. Please comment, Carl Eugen From 6ee9178dfad75c4fdb1556e929a59c9d80f0976d Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 26 Aug 2017 11:46:18 +0200 Subject: [PATCH 1/2] lavf/sdp: Fix

Re: [FFmpeg-devel] [PATCH]lavf/rawenc: Add G.726 muxers

2017-08-26 Thread Carl Eugen Hoyos
2017-08-24 13:21 GMT+02:00 Carl Eugen Hoyos : > Hi! > > Attached patch makes creating G.726 files slightly easier. Patch applied. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH]lavf/rtpenc: Add support for little-endian G.726

2017-08-26 Thread Carl Eugen Hoyos
Hi! Attached patch adds little-endian G.726 support to rtpenc, using the MIME-type suggested by RFC 3551. Please comment, Carl Eugen From 5834684eb2692fbc10f9e70ced66cedab661a828 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 26 Aug 2017 11:49:46 +0200 Subject: [PATCH 2/2] lavf/rtpen

Re: [FFmpeg-devel] [PATCH] libavformat/mov: Always use av_realloc() for AVCodecParameters.extradata

2017-08-26 Thread Michael Niedermayer
On Fri, Aug 25, 2017 at 11:25:11AM -0700, John Rummell wrote: > Chromium uses tcmalloc which doesn't like mixing calls to posix_memalign() > and realloc(). This change updates mov.c to only use av_realloc() when > allocating memory for AVCodecParameters.extradata. > --- > libavformat/mov.c | 21 ++

Re: [FFmpeg-devel] FFmpeg 3.4

2017-08-26 Thread Nicolas George
Le nonidi 9 fructidor, an CCXXV, Paul B Mahol a écrit : > Please wait until overlay filter fixes land in. I am still waiting a few days, for reviews of the individual patches. Especially the libvmaf change because I would like confirmation that the valgrind errors have disappeared. I expect I wil

Re: [FFmpeg-devel] FFmpeg 3.4

2017-08-26 Thread Paul B Mahol
On 8/26/17, Michael Niedermayer wrote: > Hi all > > Its a while since FFmpeg 3.3, so its time again to make a new release Please wait until overlay filter fixes land in. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/lis

[FFmpeg-devel] FFmpeg 3.4

2017-08-26 Thread Michael Niedermayer
Hi all Its a while since FFmpeg 3.3, so its time again to make a new release I intend to make 3.4 in the next weeks Name suggestions needed like always -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Good people do not need laws to tell them to act responsibly, while

Re: [FFmpeg-devel] [PATCH] avfilter/af_join: detect EOF immediately

2017-08-26 Thread Nicolas George
L'octidi 8 fructidor, an CCXXV, Paul B Mahol a écrit : > Prevents hang. > > Signed-off-by: Paul B Mahol > --- > libavfilter/af_join.c | 12 +--- > 1 file changed, 9 insertions(+), 3 deletions(-) Probably not 100% correct, but it comes from the fork, with the old broken scheduling, so no

Re: [FFmpeg-devel] [PATCH] avcodec/snowenc: fix setting motion_est option

2017-08-26 Thread Michael Niedermayer
On Fri, Aug 25, 2017 at 09:07:53PM -0300, James Almer wrote: > Remove usage of FF_MPV_COMMON_OPTS, and set SnowContext.motion_est directly. > Based on code from svq1enc.c > > Signed-off-by: James Almer > --- > libavcodec/snow.h| 3 ++- > libavcodec/snowenc.c | 9 + > 2 files changed,