[FFmpeg-devel] [PATCH v1] avfilter/f_metadata: remove unneeded code

2019-10-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/f_metadata.c | 4 1 file changed, 4 deletions(-) diff --git a/libavfilter/f_metadata.c b/libavfilter/f_metadata.c index 2ed1393cba..3bf4bb17f5 100644 --- a/libavfilter/f_metadata.c +++ b/libavfilter/f_metadata.c @@ -320,13

Re: [FFmpeg-devel] [PATCH v1 1/8] avformat/cinedec: check av_strdup() return value

2019-10-10 Thread Andreas Rheinhardt
Steven Liu: > Signed-off-by: Steven Liu > --- > libavformat/cinedec.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/libavformat/cinedec.c b/libavformat/cinedec.c > index d27ebbba7b..0f2453cdf5 100644 > --- a/libavformat/cinedec.c > +++ b/libavformat/cinedec.c > @@ -168,6 +168,10

Re: [FFmpeg-devel] [PATCH v1] avfilter/f_metadata: remove unneeded code

2019-10-10 Thread Steven Liu
> 在 2019年10月10日,14:03,lance.lmw...@gmail.com 写道: > > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/f_metadata.c | 4 > 1 file changed, 4 deletions(-) > > diff --git a/libavfilter/f_metadata.c b/libavfilter/f_metadata.c > index 2ed1393cba..3bf4bb17f5 100644 > ---

Re: [FFmpeg-devel] [PATCH v3 2/3] avformat/mpjpegdec: fix strict boundary search string

2019-10-10 Thread Moritz Barsnick
On Wed, Oct 09, 2019 at 16:34:37 +0200, Michael Niedermayer wrote: > > If you want to support both interpretations, you'd need to search for > > two different boundaries now. Quite some bloat, if you ask me. I don't > > know if it's worth the effort, i.e. whether this will even hit anyone, > > as

Re: [FFmpeg-devel] [PATCH, v2 2/4] avc/avcodec: add AV_CODEC_CAP_VARIABLE_DIMENSIONS flag

2019-10-10 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel On Behalf Of Fu, > Linjie > Sent: Wednesday, September 11, 2019 15:12 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH, v2 2/4] avc/avcodec: add > AV_CODEC_CAP_VARIABLE_DIMENSIONS flag > > >

Re: [FFmpeg-devel] [PATCH] Fix segment muxer

2019-10-10 Thread Vasily
Anything else I have to do to make this patch eventually taken in? Thanks, Vasily пн, 7 окт. 2019 г. в 15:54, : > When incoming media has non-zero start PTS, > segment muxer would fail to correctly calculate > the point where to chunk segments, as it always > assumed that media starts with

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/aacdec_template: Check samplerate

2019-10-10 Thread Moritz Barsnick
On Wed, Oct 09, 2019 at 12:14:49 +0200, Michael Niedermayer wrote: > +if (avctx->sample_rate > INT_MAX/2) > +return AVERROR_INVALIDDATA; Who enforces the defined sample rates? The demuxer? I'm trying to say: The maxmimum for AAC is 96000, why not use that? (Will it ever change? Can

Re: [FFmpeg-devel] [PATCH 02/14] avfilter/avfilter: add ff_filter_process_command()

2019-10-10 Thread Moritz Barsnick
On Thu, Oct 10, 2019 at 11:35:29 +0200, Moritz Barsnick wrote: > On Wed, Oct 09, 2019 at 12:16:53 +0200, Paul B Mahol wrote: > > +int ff_filter_process_command(AVFilterContext *ctx, const char *cmd, > > + const char *arg, char *res, int res_len, int > > flags) > > Are

[FFmpeg-devel] [PATCH] avcodec/zmbvenc: Correct offset in buffer

2019-10-10 Thread Andreas Rheinhardt
zmbvenc allocates a buffer for a picture with padding on all four sides: The stride is choosen so large that it already contains padding on the right; the height also includes padding rows. The padding on the right of each row is also reused as padding for the left of the next row. So one still

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: Disable copy_ts on timestamp wraparound

2019-10-10 Thread Aleksey Skripka
Greetings! Michael, patch works good for mpegts input, but for hls input it works only if add AVFMT_TS_DISCONT to .flags in ff_hls_demuxer structure (libavformat/hls.c). Is it right way? > On 3 May 2019, at 18:36, Michael Niedermayer wrote: > > This allows handling more than 26.5h of mpeg*

Re: [FFmpeg-devel] [PATCH v1 3/3] avcodec/psd: remove unneeded code

2019-10-10 Thread Limin Wang
patchset LGTM On Thu, Oct 10, 2019 at 03:29:51PM +0800, Steven Liu wrote: > Signed-off-by: Steven Liu > --- > libavcodec/psd.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/libavcodec/psd.c b/libavcodec/psd.c > index a31f73857a..ae7ad4e559 100644 > --- a/libavcodec/psd.c > +++

[FFmpeg-devel] [PATCH v1 1/3] avformat/segafilmenc: remove unneeded code

2019-10-10 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/segafilmenc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/segafilmenc.c b/libavformat/segafilmenc.c index 524230e461..f1048ff808 100644 --- a/libavformat/segafilmenc.c +++ b/libavformat/segafilmenc.c @@ -147,10 +147,8 @@ static int

[FFmpeg-devel] [PATCH v1 3/3] avcodec/psd: remove unneeded code

2019-10-10 Thread Steven Liu
Signed-off-by: Steven Liu --- libavcodec/psd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/psd.c b/libavcodec/psd.c index a31f73857a..ae7ad4e559 100644 --- a/libavcodec/psd.c +++ b/libavcodec/psd.c @@ -211,11 +211,9 @@ static int decode_header(PSDContext * s) case 2:

[FFmpeg-devel] [PATCH v1 2/3] avcodec/hevcdec: remove unneeded code

2019-10-10 Thread Steven Liu
Signed-off-by: Steven Liu --- libavcodec/hevcdec.h | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h index b45969b7e2..89e0809850 100644 --- a/libavcodec/hevcdec.h +++ b/libavcodec/hevcdec.h @@ -561,7 +561,6 @@ static av_always_inline int

Re: [FFmpeg-devel] [PATCH 04/13] avfilter/af_anlms: switch to ff_filter_process_command()

2019-10-10 Thread Moritz Barsnick
On Wed, Oct 09, 2019 at 11:56:42 +0200, Paul B Mahol wrote: > --- a/libavfilter/af_anlms.c > +++ b/libavfilter/af_anlms.c > @@ -60,13 +60,14 @@ typedef struct AudioNLMSContext { > > #define OFFSET(x) offsetof(AudioNLMSContext, x) > #define A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM >

Re: [FFmpeg-devel] [PATCH 02/14] avfilter/avfilter: add ff_filter_process_command()

2019-10-10 Thread Moritz Barsnick
On Wed, Oct 09, 2019 at 12:16:53 +0200, Paul B Mahol wrote: > +int ff_filter_process_command(AVFilterContext *ctx, const char *cmd, > + const char *arg, char *res, int res_len, int > flags) Are res and res_len reserved for future use? I didn't put this through a

Re: [FFmpeg-devel] [PATCH v4 2/4] avfilter/vf_framerate: if metadata lavfi.scd.mafd exists, we'll use it first

2019-10-10 Thread Limin Wang
On Thu, Oct 10, 2019 at 01:52:56PM +0200, Michael Niedermayer wrote: > On Tue, Oct 08, 2019 at 11:28:37PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Reviewed-by: Paul B Mahol > > Signed-off-by: Limin Wang > > --- > > libavfilter/vf_framerate.c | 15 +++ > >

Re: [FFmpeg-devel] [PATCH 14/14] avfilter/af_atempo: use ff_filter_process_command()

2019-10-10 Thread Pavel Koshevoy
On Thu, Oct 10, 2019 at 5:41 AM Paul B Mahol wrote: > > Signed-off-by: Paul B Mahol > --- > libavfilter/af_atempo.c | 25 - > 1 file changed, 8 insertions(+), 17 deletions(-) > > diff --git a/libavfilter/af_atempo.c b/libavfilter/af_atempo.c > index

[FFmpeg-devel] [PATCH 14/14] avfilter/af_atempo: use ff_filter_process_command()

2019-10-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/af_atempo.c | 25 - 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/libavfilter/af_atempo.c b/libavfilter/af_atempo.c index 688dac5464..e4fc691abe 100644 --- a/libavfilter/af_atempo.c +++ b/libavfilter/af_atempo.c

[FFmpeg-devel] [PATCH 13/14] avfilter/af_biquads: use ff_filter_process_command()

2019-10-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/af_biquads.c | 134 +++ 1 file changed, 10 insertions(+), 124 deletions(-) diff --git a/libavfilter/af_biquads.c b/libavfilter/af_biquads.c index 247a47256f..c0b2d73351 100644 --- a/libavfilter/af_biquads.c +++

[FFmpeg-devel] [PATCH 12/14] avfilter/af_rubberband: use ff_filter_process_command()

2019-10-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/af_rubberband.c | 33 + 1 file changed, 9 insertions(+), 24 deletions(-) diff --git a/libavfilter/af_rubberband.c b/libavfilter/af_rubberband.c index ef937f4415..e002d9de17 100644 --- a/libavfilter/af_rubberband.c +++

[FFmpeg-devel] [PATCH 10/14] avfilter/vf_colorchannelmixer: add support for commands

2019-10-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_colorchannelmixer.c | 31 ++ 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/libavfilter/vf_colorchannelmixer.c b/libavfilter/vf_colorchannelmixer.c index 3a9cd37b78..e6c6fe3c5d 100644 ---

[FFmpeg-devel] [PATCH 11/14] avfilter/vf_drawbox: use ff_filter_process_command()

2019-10-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_drawbox.c | 55 ++-- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/libavfilter/vf_drawbox.c b/libavfilter/vf_drawbox.c index e5f5351b9d..d71e3af397 100644 --- a/libavfilter/vf_drawbox.c +++

[FFmpeg-devel] [PATCH 05/14] avfilter/vf_gblur: switch to ff_filter_process_command()

2019-10-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_gblur.c | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/libavfilter/vf_gblur.c b/libavfilter/vf_gblur.c index 6ef261478f..1957d79e0f 100644 --- a/libavfilter/vf_gblur.c +++ b/libavfilter/vf_gblur.c @@ -35,7

[FFmpeg-devel] [PATCH 04/14] avfilter/af_anlms: switch to ff_filter_process_command()

2019-10-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/af_anlms.c | 35 ++- 1 file changed, 10 insertions(+), 25 deletions(-) diff --git a/libavfilter/af_anlms.c b/libavfilter/af_anlms.c index 350bedaf7a..55e6946b68 100644 --- a/libavfilter/af_anlms.c +++

[FFmpeg-devel] [PATCH 06/14] avfilter/vf_avgblur: switch to ff_filter_process_command()

2019-10-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_avgblur.c | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/libavfilter/vf_avgblur.c b/libavfilter/vf_avgblur.c index a1f6c9b80e..40b48799e0 100644 --- a/libavfilter/vf_avgblur.c +++ b/libavfilter/vf_avgblur.c

[FFmpeg-devel] [PATCH 02/14] avfilter/avfilter: add ff_filter_process_command()

2019-10-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/avfilter.c | 13 + libavfilter/internal.h | 7 +++ 2 files changed, 20 insertions(+) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 93e866b79c..09f33e0e7c 100644 --- a/libavfilter/avfilter.c +++

[FFmpeg-devel] [PATCH 03/14] avutil/opt: print runtime flag too

2019-10-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavutil/opt.c| 1 + tests/ref/fate/opt | 50 +++--- 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/libavutil/opt.c b/libavutil/opt.c index 7c2649725f..9081a593a1 100644 --- a/libavutil/opt.c +++

[FFmpeg-devel] [PATCH 09/14] avfilter/vf_amplify: add support for commands

2019-10-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_amplify.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_amplify.c b/libavfilter/vf_amplify.c index 48dcb93a67..a3f7fd009b 100644 --- a/libavfilter/vf_amplify.c +++ b/libavfilter/vf_amplify.c @@

[FFmpeg-devel] [PATCH 08/14] avfilter/vf_scroll: add support for commands

2019-10-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_scroll.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_scroll.c b/libavfilter/vf_scroll.c index 32b36d5631..8d4da2b950 100644 --- a/libavfilter/vf_scroll.c +++ b/libavfilter/vf_scroll.c @@ -155,12

[FFmpeg-devel] [PATCH 07/14] avfilter/af_anlmdn: switch to ff_filter_process_command()

2019-10-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/af_anlmdn.c | 36 +++- 1 file changed, 7 insertions(+), 29 deletions(-) diff --git a/libavfilter/af_anlmdn.c b/libavfilter/af_anlmdn.c index b5bc94b4eb..6e37452963 100644 --- a/libavfilter/af_anlmdn.c +++

[FFmpeg-devel] [PATCH 01/14] avutil/opt: add AV_OPT_FLAG_RUNTIME_PARAM flag

2019-10-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavutil/opt.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/opt.h b/libavutil/opt.h index 39f4a8dda0..bc98ab104d 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -288,6 +288,7 @@ typedef struct AVOption { */ #define AV_OPT_FLAG_READONLY

Re: [FFmpeg-devel] [PATCH 6/6] avcodec/wmaprodec: Fix cleanup on error

2019-10-10 Thread Michael Niedermayer
On Wed, Oct 09, 2019 at 12:29:33PM +0200, Paul B Mahol wrote: > probably ok will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User questions about the command line tools

Re: [FFmpeg-devel] [PATCH v4 2/4] avfilter/vf_framerate: if metadata lavfi.scd.mafd exists, we'll use it first

2019-10-10 Thread Michael Niedermayer
On Tue, Oct 08, 2019 at 11:28:37PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Reviewed-by: Paul B Mahol > Signed-off-by: Limin Wang > --- > libavfilter/vf_framerate.c | 15 +++ > 1 file changed, 11 insertions(+), 4 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH 04/14] avfilter/af_anlms: switch to ff_filter_process_command()

2019-10-10 Thread Limin Wang
On Thu, Oct 10, 2019 at 01:38:41PM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/af_anlms.c | 35 ++- > 1 file changed, 10 insertions(+), 25 deletions(-) > > diff --git a/libavfilter/af_anlms.c b/libavfilter/af_anlms.c > index

Re: [FFmpeg-devel] [PATCH v1] avcodec/magicyuv: remove duplicate code

2019-10-10 Thread Michael Niedermayer
On Wed, Oct 09, 2019 at 05:00:09PM +0200, Paul B Mahol wrote: > ok will apply unless someone else is faster thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If you drop bombs on a foreign country and kill a hundred thousand innocent people, expect your

Re: [FFmpeg-devel] [PATCH 04/14] avfilter/af_anlms: switch to ff_filter_process_command()

2019-10-10 Thread Limin Wang
On Thu, Oct 10, 2019 at 03:10:28PM +0200, Paul B Mahol wrote: > On 10/10/19, Limin Wang wrote: > > On Thu, Oct 10, 2019 at 01:38:41PM +0200, Paul B Mahol wrote: > >> Signed-off-by: Paul B Mahol > >> --- > >> libavfilter/af_anlms.c | 35 ++- > >> 1 file changed,

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/aacdec_template: Check samplerate

2019-10-10 Thread Michael Niedermayer
On Thu, Oct 10, 2019 at 12:06:43PM +0200, Moritz Barsnick wrote: > On Wed, Oct 09, 2019 at 12:14:49 +0200, Michael Niedermayer wrote: > > +if (avctx->sample_rate > INT_MAX/2) > > +return AVERROR_INVALIDDATA; > > Who enforces the defined sample rates? The demuxer? > > I'm trying to

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/scpr: Check minimum size of type 17

2019-10-10 Thread Michael Niedermayer
On Tue, Oct 08, 2019 at 05:57:53PM +0200, Paul B Mahol wrote: > lgtm > will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The worst form of inequality is to try to make unequal things equal. -- Aristotle signature.asc Description: PGP signature

Re: [FFmpeg-devel] [PATCH 3/5] avcodec/dstdec: Check for input exhaustion

2019-10-10 Thread Michael Niedermayer
On Tue, Oct 08, 2019 at 05:41:35PM +0200, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Avoid a single point of failure, be that a person or equipment. signature.asc Description: PGP signature

Re: [FFmpeg-devel] [PATCH] avcodec/zmbvenc: Correct offset in buffer

2019-10-10 Thread Tomas Härdin
tor 2019-10-10 klockan 11:47 +0200 skrev Andreas Rheinhardt: > zmbvenc allocates a buffer for a picture with padding on all four sides: > The stride is choosen so large that it already contains padding on the > right; the height also includes padding rows. The padding on the right > of each row is

Re: [FFmpeg-devel] [PATCH 2/6] avcodec/pcm: Check bits_per_coded_sample

2019-10-10 Thread Michael Niedermayer
On Wed, Oct 09, 2019 at 12:28:28PM +0200, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB During times of universal deceit, telling the truth becomes a revolutionary act. -- George Orwell signature.asc Description:

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/fitsdec: Fail on 0 naxisn

2019-10-10 Thread Michael Niedermayer
On Tue, Oct 08, 2019 at 05:47:07PM +0200, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The educated differ from the uneducated as much as the living from the dead. -- Aristotle signature.asc Description: PGP

Re: [FFmpeg-devel] [PATCH 04/14] avfilter/af_anlms: switch to ff_filter_process_command()

2019-10-10 Thread Paul B Mahol
On 10/10/19, Limin Wang wrote: > On Thu, Oct 10, 2019 at 01:38:41PM +0200, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavfilter/af_anlms.c | 35 ++- >> 1 file changed, 10 insertions(+), 25 deletions(-) >> >> diff --git a/libavfilter/af_anlms.c

Re: [FFmpeg-devel] [PATCH 04/14] avfilter/af_anlms: switch to ff_filter_process_command()

2019-10-10 Thread Paul B Mahol
On 10/10/19, Limin Wang wrote: > On Thu, Oct 10, 2019 at 03:10:28PM +0200, Paul B Mahol wrote: >> On 10/10/19, Limin Wang wrote: >> > On Thu, Oct 10, 2019 at 01:38:41PM +0200, Paul B Mahol wrote: >> >> Signed-off-by: Paul B Mahol >> >> --- >> >> libavfilter/af_anlms.c | 35

[FFmpeg-devel] Add on-the-fly bitrate adjustment for encoding

2019-10-10 Thread Adrian Cable
This is an addition to ffmpeg.c which enables on-the-fly encoder (e.g. H.264) bitrate adjustment using ffmpeg interactive mode. For example, specify “-b:v 299k -bufsize 299k” on the command line to start encoding at 299kbit/sec, then to adjust the encoder bitrate to 200kbit/sec during encoding,

Re: [FFmpeg-devel] [PATCH 01/14] avutil/opt: add AV_OPT_FLAG_COMMAND_PARAM flag

2019-10-10 Thread Nicolas George
Michael Niedermayer (12019-10-09): > this looks good to me but iam not sure about the name > because what is a command parameter? (in the context of a libavutil AVOption) > > What this really does is it marks AVOptions which > can be changed at runtime (through commands) but if it wasnt done

[FFmpeg-devel] [PATCH 5/5] avcodec/mjpeg_parser: Make parser a bit more robust with unclean input

2019-10-10 Thread Michael Niedermayer
Helps: test_roman.mjpeg (note this is not really just mjpeg) Signed-off-by: Michael Niedermayer --- libavcodec/mjpeg_parser.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/mjpeg_parser.c b/libavcodec/mjpeg_parser.c index 07a6b2bdc6..c642b2ecbc 100644 ---

[FFmpeg-devel] [PATCH 2/5] avcodec/qdmc: Check input space in qdmc_get_vlc()

2019-10-10 Thread Michael Niedermayer
Fixes: Timeout (125sec -> 0.4sec) Fixes: 18059/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QDMC_fuzzer-5656195825664000 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/qdmc.c | 2 ++ 1

[FFmpeg-devel] [PATCH 4/5] tools/target_dec_fuzzer: Adjust threshold for smacker

2019-10-10 Thread Michael Niedermayer
Fixes: Timeout (65sec -> 0.5sec) Fixes: 18072/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SMACKER_fuzzer-5722709366931456 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c

[FFmpeg-devel] [PATCH 1/5] avcodec/binkaudio: Check sample rate

2019-10-10 Thread Michael Niedermayer
Fixes: signed integer overflow: 1092624416 * 2 cannot be represented in type 'int' Fixes: 18045/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BINKAUDIO_RDFT_fuzzer-5718519492116480 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

[FFmpeg-devel] [PATCH 3/5] avcodec/smacker: cleanup on errors in smka_decode_frame()

2019-10-10 Thread Michael Niedermayer
Fixes: multiple memleaks Fixes: 17660/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SMACKAUD_fuzzer-5689769928949760 Fixes: 18064/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SMACKAUD_fuzzer-5631086809317376 Found-by: continuous fuzzing process

Re: [FFmpeg-devel] [PATCH v1 2/2] avformat/libsrt: fix for the memory leak if passphrase has been configured by option

2019-10-10 Thread Limin Wang
ping the patchset, one is memory leak, one is option type. Please help to review. On Fri, Sep 20, 2019 at 07:17:28PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/libsrt.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git

[FFmpeg-devel] [PATCH] fftools/ffmpeg: Improve streamcopy

2019-10-10 Thread Andreas Rheinhardt
do_streamcopy() has a packet that gets zero-initialized first, then gets initialized via av_init_packet() after which some of its fields are oerwritten again with the actually desired values (unless it's EOF): The side data is copied into the packet with av_copy_packet_side_data() and if the

Re: [FFmpeg-devel] [PATCH v4 2/2] avcodec/v210dec: add the frame and slice threading support

2019-10-10 Thread Limin Wang
Michael, have updated the patch by your suggestion, please help to review the final version. On Sun, Sep 22, 2019 at 11:55:49AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > The multithread is avoid one core cpu is full with other filter like scale > etc. > About the