[FFmpeg-devel] [PATCH] qsv/vp8dec: fix memory leak issue

2017-12-06 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsvdec_other.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/qsvdec_other.c b/libavcodec/qsvdec_other.c index f7691f9..9bf4e7d 100644 --- a/libavcodec/qsvdec_other.c +++ b/libavcodec/qsvdec_other.c @@ -60,6 +60,11

Re: [FFmpeg-devel] [PATCH] configure: Allow users to disable all hwaccel libraries

2017-12-06 Thread Gyan Doshi
On 12/4/2017 9:47 AM, Gyan Doshi wrote: On 11/30/2017 3:58 PM, Gyan Doshi wrote: I added --disable-hwaccels during configure and noticed that all autodetected hwaccel libs were still being linked - 6 in my case, which makes for a more bloated binary than warranted. Turns out the option only

[FFmpeg-devel] [PATCH] doc/filters: document max luma and chroma matrix size

2017-12-06 Thread Lou Logan
Addresses ticket #6033. Also document valid value ranges for luma_amount and chroma_amount. Signed-off-by: Lou Logan --- doc/filters.texi | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index

[FFmpeg-devel] [PATCH 1/2] lavc/qsvenc: ICQ/VCM/QVBR are not avilable on Linux

2017-12-06 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsvenc.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index 5cfd174..fae98e1 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -44,9 +44,16 @@ #define QSV_HAVE_LA

[FFmpeg-devel] [PATCH 2/2] lavc/qsvenc: add error messeage if ICQ unsupported.

2017-12-06 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index fbd4d85..f4c8df4 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -287,6 +287,12 @@ static int

Re: [FFmpeg-devel] [PATCH] configure: Allow users to disable all hwaccel libraries

2017-12-06 Thread Tobias Rapp
On 30.11.2017 11:58, Gyan Doshi wrote: On 11/30/2017 4:19 PM, Clément Bœsch wrote: Is --disable-autodetect broken/not complete for you? This disables more than just the hwaccel libs. I've tested my patch locally and configure lists no entries under External Libraries Providing Hardware

Re: [FFmpeg-devel] [PATCH v2] libavcodec/hevc_filter: implement skip_frame

2017-12-06 Thread Stefan _
On 06.12.2017 at 18:32 Michael Niedermayer wrote: > This is duplicated, it should be moved into a seperate function > > [...] > Done. From 7a9651040c1c4815d82712cb98dbd7bcf8c085bb Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 5 Dec 2017 23:26:14 +0100 Subject: [PATCH]

Re: [FFmpeg-devel] [PATCH 3/4] opus: Add Special Hybrid Folding (per RFC8251)

2017-12-06 Thread James Almer
On 12/2/2017 2:46 PM, Andrew D'Addesio wrote: > This decoder-side change, introduced in RFC 8251 (section 9), slightly > improves the decoded quality of 16kbps speech in Hybrid Mode. > > Differences can be seen/heard in testvector05.bit, testvector06.bit, > and testvector12.bit in the RFC

Re: [FFmpeg-devel] [PATCH 2/3 v2] avformat/mux: stop delaying writing the header

2017-12-06 Thread James Almer
On 11/27/2017 11:57 PM, James Almer wrote: > Every bitstream filter behaves as intended now, so there's no need to > wait for the first packet of every stream. > > Signed-off-by: James Almer > --- > Now without overloading ret in avformat_write_header. > >

Re: [FFmpeg-devel] [PATCH] avfilter: add setrange filter

2017-12-06 Thread Paul B Mahol
On 12/3/17, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > doc/filters.texi | 31 ++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_setparams.c | 82 >

[FFmpeg-devel] [PATCH] lavc/vaap_encode_h265: Init the refs with predefined value.

2017-12-06 Thread Jun Zhao
From 7519718216a2b98eb289ba20ba27685dff1cf686 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Wed, 6 Dec 2017 15:50:05 +0800 Subject: [PATCH] lavc/vaap_encode_h265: Init the refs with predefined value. Give a explicit init value to ref0/ref1 list to avoid use default value

[FFmpeg-devel] [PATCH] lavf/mp3dec: fix mp3 file probe fail

2017-12-06 Thread tiejun.peng
fix #6895: https://trac.ffmpeg.org/ticket/6895 stream:https://trac.ffmpeg.org/attachment/ticket/6895/music_mp3 Signed-off-by: tiejun.peng --- libavformat/mp3dec.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index

[FFmpeg-devel] [PATCH] lavf/mov: atom box parsing return eof cause play fail

2017-12-06 Thread tiejun.peng
fix eof lead to play fail. Signed-off-by: tiejun.peng --- libavformat/mov.c | 59 +++ 1 file changed, 42 insertions(+), 17 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index c901859..870fdd6 100644

Re: [FFmpeg-devel] [PATCH] lavf/mp3dec: fix mp3 file probe fail

2017-12-06 Thread Carl Eugen Hoyos
2017-12-06 10:27 GMT+01:00 tiejun.peng : > fix #6895: https://trac.ffmpeg.org/ticket/6895 The patch breaks issue3327-libc-2.17.so > stream:https://trac.ffmpeg.org/attachment/ticket/6895/music_mp3 Which player does something useful with this file? I am not saying there

Re: [FFmpeg-devel] [PATCH] lavf/mov: atom box parsing return eof cause play fail

2017-12-06 Thread Carl Eugen Hoyos
2017-12-06 9:25 GMT+01:00 tiejun.peng : > /* check MOV header */ > do { > -if (mov->moov_retry) > -avio_seek(pb, 0, SEEK_SET); > -if ((err = mov_read_default(mov, pb, atom)) < 0) { > -av_log(s, AV_LOG_ERROR, "error reading header\n"); > -

Re: [FFmpeg-devel] [PATCH 3/6] lavc/libx265: mark disposable frames

2017-12-06 Thread Michael Niedermayer
On Tue, Dec 05, 2017 at 04:36:58PM -0800, John Stebbins wrote: > Used by movenc to fill sdtp box > --- > libavcodec/libx265.c | 7 +++ > 1 file changed, 7 insertions(+) LGTM will apply if noone is against [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Re: [FFmpeg-devel] [PATCH] libavcodec/hevc_filter: implement skip_frame

2017-12-06 Thread Michael Niedermayer
On Tue, Dec 05, 2017 at 10:35:50PM +, Stefan _ wrote: > On 04.12.2017 at 21:06 Carl Eugen Hoyos wrote: > > 2017-12-01 0:22 GMT+01:00 Stefan _ : > > > >> Attached patch adds full support for skip_loop_filter > >> (all levels) to the hevc decoder. > > Will you also work on

Re: [FFmpeg-devel] [PATCH] Fix leak discovered via fuzzing

2017-12-06 Thread Michael Niedermayer
On Tue, Dec 05, 2017 at 03:11:26PM -0800, Nikolas Bowe wrote: > --- > libavcodec/extract_extradata_bsf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Republics decline into

Re: [FFmpeg-devel] [PATCH 3/3] avformat: deprecate AVFMT_FLAG_AUTO_BSF

2017-12-06 Thread James Almer
On 11/26/2017 5:51 PM, James Almer wrote: > The bitstream filters inserted by this option should not be optional. > They are needed to succesfully mux files in some cases, and to prevent > muxing broken files in others. > > This is more in line with AVCodec.bsfs() > > Signed-off-by: James Almer

[FFmpeg-devel] [PATCH 1/2] WIP: remove YUVJ mentions

2017-12-06 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/mjpegdec.c| 18 +- libavcodec/mjpegenc.c| 4 ++-- libavcodec/mjpegenc_common.c | 5 + tests/fate/vcodec.mak| 12 ++-- 4 files changed, 18 insertions(+), 21 deletions(-) diff --git

[FFmpeg-devel] [PATCH 2/2] WIP: steps to ditch YUVJ formats

2017-12-06 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- Does not work! Why? --- fftools/ffmpeg_filter.c | 9 +++-- libavfilter/avfilter.c | 2 ++ libavfilter/avfilter.h | 2 ++ libavfilter/buffersink.c | 1 + libavfilter/buffersink.h | 1 + libavfilter/buffersrc.c | 13 +

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/dirac_dwt: Fix integer overflows in COMPOSE_DAUB97*

2017-12-06 Thread Michael Niedermayer
On Sun, Dec 03, 2017 at 12:39:40AM +0100, Michael Niedermayer wrote: > Fixes: 4478/clusterfuzz-testcase-minimized-4752113767809024 > Fixes: runtime error: signed integer overflow: -2147483626 + -319489 cannot > be represented in type 'int' > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH] lavc/vaap_encode_h265: Init the refs with predefined value.

2017-12-06 Thread Mark Thompson
On 06/12/17 08:20, Jun Zhao wrote: > > From 7519718216a2b98eb289ba20ba27685dff1cf686 Mon Sep 17 00:00:00 2001 > From: Jun Zhao > Date: Wed, 6 Dec 2017 15:50:05 +0800 > Subject: [PATCH] lavc/vaap_encode_h265: Init the refs with predefined value. > > Give a explicit init

Re: [FFmpeg-devel] [PATCH] avcodec/libx265.c - Add named option to set profile

2017-12-06 Thread Lou Logan
On Tue, Dec 5, 2017, at 10:23 PM, Lou Logan wrote: > As it is late here I plan to test and commit this tomorrow unless > someone else does first. Pushed. Thanks for the patch. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH] libavcodec/mpegvideo_parser: set field_order correctly for progressive mpeg2

2017-12-06 Thread Aman Gupta
From: Aman Gupta --- libavcodec/mpegvideo_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegvideo_parser.c b/libavcodec/mpegvideo_parser.c index de70cd5632..be240b6890 100644 --- a/libavcodec/mpegvideo_parser.c +++

[FFmpeg-devel] [PATCH] avcodec/vp9_superframe_split_bsf: Fix integer overflow in frame_size/total_size checks

2017-12-06 Thread Michael Niedermayer
Fixes: signed integer overflow: -1698586465 + -551542752 cannot be represented in type 'int' Fixes: 4490/clusterfuzz-testcase-minimized-5210014592532480 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer

Re: [FFmpeg-devel] [PATCH] lavc/vaap_encode_h265: Init the refs with predefined value.

2017-12-06 Thread Jun Zhao
On 2017/12/7 8:29, Mark Thompson wrote: > On 06/12/17 21:32, Mark Thompson wrote: >> On 06/12/17 08:20, Jun Zhao wrote: >>> From 7519718216a2b98eb289ba20ba27685dff1cf686 Mon Sep 17 00:00:00 2001 >>> From: Jun Zhao >>> Date: Wed, 6 Dec 2017 15:50:05 +0800 >>> Subject: [PATCH]

Re: [FFmpeg-devel] [PATCH] lavc/vaap_encode_h265: Init the refs with predefined value.

2017-12-06 Thread Mark Thompson
On 06/12/17 21:32, Mark Thompson wrote: > On 06/12/17 08:20, Jun Zhao wrote: >> From 7519718216a2b98eb289ba20ba27685dff1cf686 Mon Sep 17 00:00:00 2001 >> From: Jun Zhao >> Date: Wed, 6 Dec 2017 15:50:05 +0800 >> Subject: [PATCH] lavc/vaap_encode_h265: Init the refs with

Re: [FFmpeg-devel] [PATCH] avfilter/formats: fix wrong function name in error message

2017-12-06 Thread Jun Zhao
On 2017/12/5 17:25, Hendrik Leppkes wrote: > On Tue, Dec 5, 2017 at 6:42 AM, Jun Zhao wrote: >> >> On 2017/12/5 2:32, Michael Niedermayer wrote: >>> On Mon, Dec 04, 2017 at 11:07:11AM +0100, Hendrik Leppkes wrote: On Mon, Dec 4, 2017 at 10:53 AM, Moritz Barsnick

[FFmpeg-devel] [PATCH] fix MSVC compilation errors

2017-12-06 Thread Mateusz
After commit 3701d49 'error_resilience: remove avpriv_atomic usage' we have included windows.h in much more files and we should avoid conflicts with defines/function declarations. We should declare compatible variables for atomic compat wrappers that expect fixed size variables in

Re: [FFmpeg-devel] [PATCH 0/1][TOOL][HACK] Allocation NULL check fuzzer

2017-12-06 Thread Derek Buitenhuis
On 11/25/2017 12:07 AM, Michael Niedermayer wrote: > I do not know that but i would be surprised if null dereferences tests > where unwelcome > > oss-fuzz will already report null derferences and OOM conditions, as > well as undefined behavior. So in some sense various points on the map >