Re: [FFmpeg-devel] [PATCH 5/5] x86: Add some additional cpuflag relations

2017-06-09 Thread Henrik Gramner
On Fri, Jun 9, 2017 at 1:05 AM, James Darnley wrote: >Where should I put the aesni define? Between sse42 and avx. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 1/5] x86inc: Fix call with memory operands

2017-06-09 Thread Henrik Gramner
On Fri, Jun 9, 2017 at 1:04 AM, James Darnley wrote: > libavutil/x86/x86inc.asm | 6 +- Bump the date in the header to 2017 as well. That was done in x264 as part of an earlier commit but might as well squash it into this one. ___ ffmpeg-devel maili

Re: [FFmpeg-devel] [PATCH] avcodec/fft_template: Fix multiple runtime error: signed integer overflow: -1943918714 - 1935113003 cannot be represented in type 'int'

2017-06-09 Thread Ivan Kalvachev
On 6/9/17, Michael Niedermayer wrote: > On Thu, Jun 08, 2017 at 06:35:07PM -0400, Ronald S. Bultje wrote: >> Hi, >> >> On Thu, Jun 8, 2017 at 6:10 PM, Michael Niedermayer >> >> wrote: >> >> > Signed value in >> > Unsigned >> > INTeger type >> >> [..] >> > Both SUINT and unsigned should produce id

Re: [FFmpeg-devel] [PATCH]libavformat/http: fix http error eof

2017-06-09 Thread Michael Niedermayer
On Thu, Jun 08, 2017 at 02:02:49PM -0400, Ronald S. Bultje wrote: > Hi, > > On Thu, Jun 1, 2017 at 5:55 PM, Michael Niedermayer > wrote: > > > On Thu, Jun 01, 2017 at 07:48:38AM -0400, Ronald S. Bultje wrote: > > > Hi, > > > > > > On Thu, Jun 1, 2017 at 2:27 AM, raymond zheng < > > raymondzheng1

Re: [FFmpeg-devel] [PATCH 5/5] x86: Add some additional cpuflag relations

2017-06-09 Thread James Darnley
On 2017-06-09 10:08, Henrik Gramner wrote: > On Fri, Jun 9, 2017 at 1:05 AM, James Darnley wrote: >> Where should I put the aesni define? > > Between sse42 and avx. Thank you. I will change this and the first patch to bump the date. I'll give other people about an hour to make other comments.

Re: [FFmpeg-devel] [WIP][PATCH] Opus Piramid Vector Quantization Search in x86 SIMD asm

2017-06-09 Thread Michael Niedermayer
On Fri, Jun 09, 2017 at 01:36:07AM +0300, Ivan Kalvachev wrote: > On request by Rostislav Pehlivanov (atomnuker), I've been working on > SSE/AVX accelerated version of pvq_search(). > > The attached patch is my work so far. > > At the moment, for me, at the default bitrate > the function is 2.5 t

Re: [FFmpeg-devel] [PATCH] Add FITS Decoder

2017-06-09 Thread Michael Niedermayer
On Thu, Jun 08, 2017 at 10:34:15PM +0530, Paras Chadha wrote: > It supports all 2-d images alongwith bzero, bscale and blank keywords. > RGBA images are supported as NAXIS3 = 3 or 4 i.e. Planes in RGBA order. Also > CTYPE = 'RGB ' should be present. > It currently does not support XTENSION keyword

Re: [FFmpeg-devel] [PATCH] avcodec/vp9: ipred_dr_16x16_16 avx2 implementation

2017-06-09 Thread Ivan Kalvachev
On 6/8/17, Ilia Valiakhmetov wrote: > vp9_diag_downright_16x16_12bpp_c: 149.0 > vp9_diag_downright_16x16_12bpp_sse2: 67.8 > vp9_diag_downright_16x16_12bpp_ssse3: 45.6 > vp9_diag_downright_16x16_12bpp_avx: 36.6 > vp9_diag_downright_16x16_12bpp_avx2: 25.5 > > ~30% faster than avx > > Signed-off-by:

Re: [FFmpeg-devel] [WIP][PATCH] Opus Piramid Vector Quantization Search in x86 SIMD asm

2017-06-09 Thread Ivan Kalvachev
On 6/9/17, Michael Niedermayer wrote: > On Fri, Jun 09, 2017 at 01:36:07AM +0300, Ivan Kalvachev wrote: >> opus_pvq.c |9 >> opus_pvq.h |5 >> x86/Makefile|1 >> x86/opus_dsp_init.c | 47 +++ >> x86/opus_pvq_search.asm | 597 >>

Re: [FFmpeg-devel] [PATCH 2/5] x86inc: Make REP_RET identical to RET in SSSE3+ functions

2017-06-09 Thread Ronald S. Bultje
Hi, On Thu, Jun 8, 2017 at 7:04 PM, James Darnley wrote: > From: Henrik Gramner > > There's no point in emitting a rep prefix before ret on modern CPUs. > --- > libavutil/x86/x86inc.asm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) LGTM. Ronald

[FFmpeg-devel] [PATCH 2/2] tools: add sofa2wavs

2017-06-09 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- Makefile | 1 + tools/Makefile| 1 + tools/sofa2wavs.c | 79 +++ 3 files changed, 81 insertions(+) create mode 100644 tools/sofa2wavs.c diff --git a/Makefile b/Makefile index 685b613..a2df8b9 1006

[FFmpeg-devel] [PATCH 1/2] avfilter: add native headphone spatialization filter

2017-06-09 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 42 +++ libavfilter/Makefile | 1 + libavfilter/af_headphone.c | 811 + libavfilter/allfilters.c | 1 + 4 files changed, 855 insertions(+) create mode 100644 libavfilter/af_headp

Re: [FFmpeg-devel] [PATCH 3/5] x86inc: Prefer r14/r15 over r12/r13 on x86-64

2017-06-09 Thread Ronald S. Bultje
Hi, On Thu, Jun 8, 2017 at 7:05 PM, James Darnley wrote: > From: Henrik Gramner > > Due to a peculiarity in the ModR/M addressing encoding, the r12 and r13 > registers sometimes requires an additional byte when used as a base > register. > > r14 and r15 doesn't have that issue, so prefer using

Re: [FFmpeg-devel] [PATCH] vf_colorspace: Add a pixdesc API alias name for bt2020nc color space

2017-06-09 Thread Ronald S. Bultje
Hi, On Thu, Jun 8, 2017 at 8:01 PM, Vittorio Giovara wrote: > --- > libavfilter/vf_colorspace.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c > index d1e9a1c609..71ea08a20f 100644 > --- a/libavfilter/vf_colorspace.c > +++ b/li

Re: [FFmpeg-devel] [PATCH 4/5] x86inc: Remove argument from WIN64_RESTORE_XMM

2017-06-09 Thread Ronald S. Bultje
Hi, On Thu, Jun 8, 2017 at 7:05 PM, James Darnley wrote: > From: Anton Mitrofanov > > The use of rsp was pretty much hardcoded there and probably didn't work > otherwise with stack_size > 0. > --- > libavutil/x86/x86inc.asm | 19 ++- > 1 file changed, 10 insertions(+), 9 deleti

Re: [FFmpeg-devel] [PATCH] avcodec/vp9: ipred_dr_16x16_16 avx2 implementation

2017-06-09 Thread gh0st
>I know unaligned loads are not as slow as they used to be, >but could m1 be produced by m2 and palignr? I am not sure, can you clarify your question? >From the comment I assume you don't use the extra two bytes >that you get from the load, as you mark them as "*" >generic undefined values No, t

Re: [FFmpeg-devel] [WIP][PATCH] Opus Piramid Vector Quantization Search in x86 SIMD asm

2017-06-09 Thread Ivan Kalvachev
On 6/9/17, Ivan Kalvachev wrote: > On 6/9/17, Michael Niedermayer wrote: >> On Fri, Jun 09, 2017 at 01:36:07AM +0300, Ivan Kalvachev wrote: >>> opus_pvq.c |9 >>> opus_pvq.h |5 >>> x86/Makefile|1 >>> x86/opus_dsp_init.c | 47 +++ >>> x86/

[FFmpeg-devel] [PATCH 1/1] configure: require NASM version 2.11 or newer for external x86 assembly

2017-06-09 Thread James Darnley
--- configure | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/configure b/configure index e3941f9dfd..69bbf25bf5 100755 --- a/configure +++ b/configure @@ -3258,7 +3258,7 @@ pkg_config_default=pkg-config ranlib_default="ranlib" strip_default="strip" versio

[FFmpeg-devel] [RFC] x86 external assembler requirements

2017-06-09 Thread James Darnley
I propose that we drop support for all assemblers older than NASM version 2.11. That was released on 2013-12-31 with several point releases over the following year with 2.11.08 being released on 2015-02-21. The following patch does just that. Please do not be concerned about the ZMM register use.

Re: [FFmpeg-devel] [RFC] x86 external assembler requirements

2017-06-09 Thread Hendrik Leppkes
On Fri, Jun 9, 2017 at 2:51 PM, James Darnley wrote: > I propose that we drop support for all assemblers older than NASM version > 2.11. > That was released on 2013-12-31 with several point releases over the following > year with 2.11.08 being released on 2015-02-21. > > The following patch does

Re: [FFmpeg-devel] [PATCH] libavformat/cache: don't treat 0 as EOF

2017-06-09 Thread Daniel Kučera
2017-06-05 21:18 GMT+02:00 Daniel Kucera : > Signed-off-by: Daniel Kucera > --- > libavformat/cache.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/cache.c b/libavformat/cache.c > index 6aabca2e78..66bbbf54c9 100644 > --- a/libavformat/cache.c > +++ b/li

[FFmpeg-devel] [PATCH 3/3] libavformat/aviobuf: don't treat 0 as EOF

2017-06-09 Thread Daniel Kucera
Signed-off-by: Daniel Kucera --- libavformat/aviobuf.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 1667e9f08b..3705e406d9 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -556,13 +55

[FFmpeg-devel] [PATCH] libavformat/avio: fix retry_transfer_wrapper return value on error

2017-06-09 Thread Daniel Kucera
Signed-off-by: Daniel Kucera --- libavformat/avio.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index 1e79c9dd5c..d0cee42c39 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -393,8 +393,10 @@ static inline int retry_

Re: [FFmpeg-devel] [RFC] x86 external assembler requirements

2017-06-09 Thread Ivan Kalvachev
On 6/9/17, Hendrik Leppkes wrote: > On Fri, Jun 9, 2017 at 2:51 PM, James Darnley wrote: >> I propose that we drop support for all assemblers older than NASM version >> 2.11. >> That was released on 2013-12-31 with several point releases over the >> following >> year with 2.11.08 being released o

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/htmlsubtitles: Protect very slow redundant sscanf() calls by optimized use of strchr()

2017-06-09 Thread wm4
On Thu, 8 Jun 2017 23:53:55 +0200 Michael Niedermayer wrote: > Fixes Timeout > Fixes: 2127/clusterfuzz-testcase-minimized-6595787859427328 > > Signed-off-by: Michael Niedermayer > --- > libavcodec/htmlsubtitles.c | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > > diff

Re: [FFmpeg-devel] [PATCH 2/2] tools: add sofa2wavs

2017-06-09 Thread wm4
On Fri, 9 Jun 2017 13:44:01 +0200 Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > Makefile | 1 + > tools/Makefile| 1 + > tools/sofa2wavs.c | 79 > +++ > 3 files changed, 81 insertions(+) > create mode 100644 tools

Re: [FFmpeg-devel] vf_colorspace: Add a pixdesc API alias name for bt2020nc color space

2017-06-09 Thread Nicolas George
Le primidi 21 prairial, an CCXXV, Vittorio Giovara a écrit : > ffmpeg | branch: master | Vittorio Giovara | Thu > Jun 8 20:00:19 2017 -0400| [c12e8f5f0b412fde9b0c3cf4ca7039ee82461139] | > committer: Vittorio Giovara > > vf_colorspace: Add a pixdesc API alias name for bt2020nc color space Mayb

Re: [FFmpeg-devel] [PATCH 2/2] tools: add sofa2wavs

2017-06-09 Thread Paul B Mahol
On 6/9/17, wm4 wrote: > On Fri, 9 Jun 2017 13:44:01 +0200 > Paul B Mahol wrote: > >> Signed-off-by: Paul B Mahol >> --- >> Makefile | 1 + >> tools/Makefile| 1 + >> tools/sofa2wavs.c | 79 >> +++ >> 3 files changed, 81 inserti

Re: [FFmpeg-devel] [PATCH 2/2] tools: add sofa2wavs

2017-06-09 Thread wm4
On Fri, 9 Jun 2017 17:02:37 +0200 Paul B Mahol wrote: > On 6/9/17, wm4 wrote: > > On Fri, 9 Jun 2017 13:44:01 +0200 > > Paul B Mahol wrote: > > > >> Signed-off-by: Paul B Mahol > >> --- > >> Makefile | 1 + > >> tools/Makefile| 1 + > >> tools/sofa2wavs.c | 79 > >> +

Re: [FFmpeg-devel] [PATCH] avcodec/fft_template: Fix multiple runtime error: signed integer overflow: -1943918714 - 1935113003 cannot be represented in type 'int'

2017-06-09 Thread wm4
On Fri, 9 Jun 2017 11:34:26 +0300 Ivan Kalvachev wrote: > > If I understand correctly, the root of the problem is the undefined behavior > of the compiler and the C standard. > Is there any chance that FFmpeg project could initiate a change in the > next C standard, so this thing would be define

Re: [FFmpeg-devel] [PATCH] avcodec/fft_template: Fix multiple runtime error: signed integer overflow: -1943918714 - 1935113003 cannot be represented in type 'int'

2017-06-09 Thread wm4
On Fri, 9 Jun 2017 00:10:49 +0200 Michael Niedermayer wrote: > On Sat, May 27, 2017 at 12:24:16PM +0200, wm4 wrote: > > On Sat, 27 May 2017 03:56:42 +0200 > > Michael Niedermayer wrote: > > > > > On Fri, May 26, 2017 at 07:06:44PM -0400, Ronald S. Bultje wrote: > > > > Hi, > > > > > > > >

Re: [FFmpeg-devel] [PATCH] avcodec/fft_template: Fix multiple runtime error: signed integer overflow: -1943918714 - 1935113003 cannot be represented in type 'int'

2017-06-09 Thread Paul B Mahol
On 6/9/17, wm4 wrote: > On Fri, 9 Jun 2017 11:34:26 +0300 > Ivan Kalvachev wrote: > >> >> If I understand correctly, the root of the problem is the undefined >> behavior >> of the compiler and the C standard. >> Is there any chance that FFmpeg project could initiate a change in the >> next C stan

Re: [FFmpeg-devel] [PATCH 2/2] tools: add sofa2wavs

2017-06-09 Thread Paul B Mahol
On 6/9/17, wm4 wrote: > On Fri, 9 Jun 2017 17:02:37 +0200 > Paul B Mahol wrote: > >> On 6/9/17, wm4 wrote: >> > On Fri, 9 Jun 2017 13:44:01 +0200 >> > Paul B Mahol wrote: >> > >> >> Signed-off-by: Paul B Mahol >> >> --- >> >> Makefile | 1 + >> >> tools/Makefile| 1 + >> >> to

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Offset index timestamps by the minimum pts to make first pts zero.

2017-06-09 Thread wm4
On Tue, 6 Jun 2017 11:16:01 -0700 Sasi Inguva wrote: > Fixes t/6421. If the videos starts with B frame, then the minimum composition > time as computed by stts + ctts will be non-zero. Hence we need to shift the > DTS, so that the first pts is zero. This was the intention of that > code-block

[FFmpeg-devel] [PATCH] avcodec/wavpack: Change wp_log2() to unsigned

2017-06-09 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: 2143315325 + 4186162 cannot be represented in type 'int' Fixes: 2134/clusterfuzz-testcase-minimized-4619258405322752 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermay

Re: [FFmpeg-devel] [RFC] x86 external assembler requirements

2017-06-09 Thread Michael Niedermayer
On Fri, Jun 09, 2017 at 03:13:23PM +0200, Hendrik Leppkes wrote: > On Fri, Jun 9, 2017 at 2:51 PM, James Darnley wrote: > > I propose that we drop support for all assemblers older than NASM version > > 2.11. ubuntu 14.04 LTS has only nasm

Re: [FFmpeg-devel] [PATCH] Add FITS Decoder

2017-06-09 Thread Paras Chadha
On Fri, Jun 9, 2017 at 3:08 AM, Martin Vignali wrote: > Hello, > > You can create a FipsContext struct to store decoding data > instead of using Fips Header struct > (you can take a look to other image decoder) > > Also you should need to split the patch for libavcodec part and libavformat > part

[FFmpeg-devel] [PATCH] Add FITS Decoder

2017-06-09 Thread Paras Chadha
All the changes mentioned above have been done. Signed-off-by: Paras Chadha --- Changelog | 1 + doc/general.texi| 2 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 8 + libavcodec/fitsdec

Re: [FFmpeg-devel] [PATCH] Add FITS Decoder

2017-06-09 Thread Paras Chadha
On Fri, Jun 9, 2017 at 4:19 PM, Michael Niedermayer wrote: > On Thu, Jun 08, 2017 at 10:34:15PM +0530, Paras Chadha wrote: > > It supports all 2-d images alongwith bzero, bscale and blank keywords. > > RGBA images are supported as NAXIS3 = 3 or 4 i.e. Planes in RGBA order. > Also CTYPE = 'RGB ' s

Re: [FFmpeg-devel] [PATCH] Add FITS Decoder

2017-06-09 Thread Paras Chadha
On Fri, Jun 9, 2017 at 1:26 AM, Moritz Barsnick wrote: > On Thu, Jun 08, 2017 at 22:34:15 +0530, Paras Chadha wrote: > > +t64 = (((uint64_t) ptr8[0]) << 56) | (((uint64_t) ptr8[1]) > << 48) | (((uint64_t) ptr8[2]) << 40) | (((uint64_t) ptr8[3]) << 32) | > (ptr8[4] << 24) | (ptr8[5] <<

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/htmlsubtitles: Protect very slow redundant sscanf() calls by optimized use of strchr()

2017-06-09 Thread Michael Niedermayer
On Fri, Jun 09, 2017 at 04:32:41PM +0200, wm4 wrote: > On Thu, 8 Jun 2017 23:53:55 +0200 > Michael Niedermayer wrote: > > > Fixes Timeout > > Fixes: 2127/clusterfuzz-testcase-minimized-6595787859427328 > > > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/htmlsubtitles.c | 12

Re: [FFmpeg-devel] [PATCH] Add A53 Closed Captions to MPEG header if they are available.

2017-06-09 Thread Devin Heitmueller
Hello Marton, On Tue, Jun 6, 2017 at 5:45 PM, Marton Balint wrote: > As far as I remember multiple side data of the same type is not something we > wanted to support. Why do you need it? Can't a single AV_FRAME_DATA_A53_CC > side data packet contain many CC entries? Could you please expand on w

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Offset index timestamps by the minimum pts to make first pts zero.

2017-06-09 Thread Sasi Inguva
That's great. Thanks. On Jun 9, 2017 9:24 AM, "wm4" wrote: > On Tue, 6 Jun 2017 11:16:01 -0700 > Sasi Inguva wrote: > > > Fixes t/6421. If the videos starts with B frame, then the minimum > composition time as computed by stts + ctts will be non-zero. Hence we need > to shift the DTS, so that

[FFmpeg-devel] [PATCH] avcodec/vp9: ipred_dr_16x16_16 avx2 implementation

2017-06-09 Thread Ilia Valiakhmetov
Signed-off-by: Ilia Valiakhmetov --- libavcodec/x86/vp9dsp_init_16bpp.c| 2 ++ libavcodec/x86/vp9intrapred_16bpp.asm | 56 +++ 2 files changed, 58 insertions(+) diff --git a/libavcodec/x86/vp9dsp_init_16bpp.c b/libavcodec/x86/vp9dsp_init_16bpp.c index d1b8fc

[FFmpeg-devel] [PATCH] hevc: Add support for alternative transfer characterics SEI

2017-06-09 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara --- libavcodec/hevc_sei.c | 9 + libavcodec/hevc_sei.h | 7 +++ libavcodec/hevcdec.c | 5 + 3 files changed, 21 insertions(+) diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c index f0ad84f2f4..cd55d50212 100644 --- a/libavcodec/hevc_sei.

[FFmpeg-devel] [PATCH] fate: add test for -time_base option

2017-06-09 Thread Michael Bradshaw
Hi, Attached patch adds a FATE test for the -time_base option, as promised[1] (months ago). This is my first FATE patch, so please be sure to check for stupid mistakes and whatnot. I'm happy to revise it as needed. Thanks, --Michael [1]: http://ffmpeg.org/pipermail/ffmpeg-devel/2017-March/20943

Re: [FFmpeg-devel] [PATCH] avcodec/vp9: ipred_dr_16x16_16 avx2 implementation

2017-06-09 Thread Ivan Kalvachev
On 6/9/17, Ilia Valiakhmetov wrote: > Signed-off-by: Ilia Valiakhmetov > --- > libavcodec/x86/vp9dsp_init_16bpp.c| 2 ++ > libavcodec/x86/vp9intrapred_16bpp.asm | 56 > +++ > 2 files changed, 58 insertions(+) > > diff --git a/libavcodec/x86/vp9dsp_init_16bpp.

[FFmpeg-devel] [PATCH] lavc/mediacodecdec: switch to the new generic filtering mechanism

2017-06-09 Thread Matthieu Bouron
--- libavcodec/mediacodecdec.c | 70 -- 1 file changed, 12 insertions(+), 58 deletions(-) diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index 5bdeb6c1d7..0c77a78aa9 100644 --- a/libavcodec/mediacodecdec.c +++ b/libavcodec/mediacod

Re: [FFmpeg-devel] [PATCH] lavc/mediacodecdec: switch to the new generic filtering mechanism

2017-06-09 Thread James Almer
On 6/9/2017 7:53 PM, Matthieu Bouron wrote: > --- > libavcodec/mediacodecdec.c | 70 > -- > 1 file changed, 12 insertions(+), 58 deletions(-) > > diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c > index 5bdeb6c1d7..0c77a78aa9 100644

Re: [FFmpeg-devel] [PATCH] lavc/mediacodecdec: switch to the new generic filtering mechanism

2017-06-09 Thread Matthieu Bouron
On Fri, Jun 09, 2017 at 08:18:25PM -0300, James Almer wrote: > On 6/9/2017 7:53 PM, Matthieu Bouron wrote: > > --- > > libavcodec/mediacodecdec.c | 70 > > -- > > 1 file changed, 12 insertions(+), 58 deletions(-) > > > > diff --git a/libavcodec/mediaco

Re: [FFmpeg-devel] [PATCH] avcodec/fft_template: Fix multiple runtime error: signed integer overflow: -1943918714 - 1935113003 cannot be represented in type 'int'

2017-06-09 Thread Ivan Kalvachev
On 6/9/17, wm4 wrote: > On Fri, 9 Jun 2017 00:10:49 +0200 > Michael Niedermayer wrote: > >> On Sat, May 27, 2017 at 12:24:16PM +0200, wm4 wrote: >> > On Sat, 27 May 2017 03:56:42 +0200 >> > Michael Niedermayer wrote: >> > >> > > On Fri, May 26, 2017 at 07:06:44PM -0400, Ronald S. Bultje wrote: >

Re: [FFmpeg-devel] [PATCH] avcodec/fft_template: Fix multiple runtime error: signed integer overflow: -1943918714 - 1935113003 cannot be represented in type 'int'

2017-06-09 Thread Ronald S. Bultje
Hi, On Thu, Jun 8, 2017 at 8:57 PM, Michael Niedermayer wrote: > On Thu, Jun 08, 2017 at 06:35:07PM -0400, Ronald S. Bultje wrote: > > Hi, > > > > On Thu, Jun 8, 2017 at 6:10 PM, Michael Niedermayer > > > wrote: > > > > > Signed value in > > > Unsigned > > > INTeger type > > > > [..] > > > Both

Re: [FFmpeg-devel] [WIP][PATCH] Opus Piramid Vector Quantization Search in x86 SIMD asm

2017-06-09 Thread Michael Niedermayer
On Fri, Jun 09, 2017 at 03:07:55PM +0300, Ivan Kalvachev wrote: > On 6/9/17, Ivan Kalvachev wrote: > > On 6/9/17, Michael Niedermayer wrote: > >> On Fri, Jun 09, 2017 at 01:36:07AM +0300, Ivan Kalvachev wrote: > >>> opus_pvq.c |9 > >>> opus_pvq.h |5 > >>> x86/

Re: [FFmpeg-devel] [PATCH 3/3] libavformat/aviobuf: don't treat 0 as EOF

2017-06-09 Thread Michael Niedermayer
On Fri, Jun 09, 2017 at 03:49:03PM +0200, Daniel Kucera wrote: > Signed-off-by: Daniel Kucera > --- > libavformat/aviobuf.c | 20 > 1 file changed, 12 insertions(+), 8 deletions(-) > > diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c > index 1667e9f08b..3705e406d9