Signed-off-by: Aki Sakurai
---
libavformat/httpauth.c | 82 --
1 file changed, 48 insertions(+), 34 deletions(-)
diff --git a/libavformat/httpauth.c b/libavformat/httpauth.c
index 0a98ff80a5..6781d32ff1 100644
--- a/libavformat/httpauth.c
+++ b/libavformat
enc_dec is designed for raw input and output and computes
the PSNR between these two. The input of the shortest-sub
test is the idx file of a vobsub sub+idx combination
and the output is the output of framecrc of said vobsub
subtitle muxed into Matroska together with a synthesized
video. Calculatin
The aim of this test is to show the interleavement
of the file generated in the first pass; so make the
interleavement queue in the framecrc muxer in the second
pass as small as possible so that the framecrc muxer does not
fix wrong interleavement of the input file behind our backs.
Signed-off-by:
Signed-off-by: Andreas Rheinhardt
---
libavcodec/smc.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/libavcodec/smc.c b/libavcodec/smc.c
index e6d01791c2..2b10e74386 100644
--- a/libavcodec/smc.c
+++ b/libavcodec/smc.c
@@ -46,8 +46,6 @@ typedef struct SmcContext
Signed-off-by: Andreas Rheinhardt
---
libavcodec/rpzaenc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavcodec/rpzaenc.c b/libavcodec/rpzaenc.c
index 0084a271c6..d710eb4f82 100644
--- a/libavcodec/rpzaenc.c
+++ b/libavcodec/rpzaenc.c
@@ -773,10 +773,9 @@ static int rp
Signed-off-by: Andreas Rheinhardt
---
libavformat/spdifenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c
index 7b8e231cff..2861f828b4 100644
--- a/libavformat/spdifenc.c
+++ b/libavformat/spdifenc.c
@@ -410,8 +410,8 @@ static
Signed-off-by: Andreas Rheinhardt
---
tests/Makefile |1 +
tests/fate/segafilm.mak | 15 +
tests/ref/fate/segafilm-adx-remux| 1055 ++
tests/ref/fate/segafilm-cinepak-mux | 159
tests/ref/fate/segafilm-rawvideo-mux | 98
Forgotten in bf1337f99c66ac574c6e4da65c305ca878f1d65d.
Signed-off-by: Andreas Rheinhardt
---
tests/fate/lavf-audio.mak | 2 +-
tests/fate/lavf-container.mak | 2 +-
tests/fate/lavf-image.mak | 2 +-
tests/fate/lavf-image2pipe.mak | 3 ++-
tests/fate/lavf-video.mak | 2 +-
5 files
There is probably a better place to check for this, but better
here than nowhere
Fixes: signed integer overflow: -9223372036824775808 - 864 cannot be
represented in type 'long'
Fixes:
50993/clusterfuzz-testcase-minimized-ffmpeg_dem_SBG_fuzzer-6601162580688896
Found-by: continuous fuzzin
Fixes: signed integer overflow: 9223372036851135042 + 15666854 cannot be
represented in type 'long'
Fixes:
50993/clusterfuzz-testcase-minimized-ffmpeg_dem_SBG_fuzzer-6573717339111424
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-b
Fixes: signed integer overflow: 72128794995445727 * 240 cannot be represented
in type 'long'
Fixes:
50993/clusterfuzz-testcase-minimized-ffmpeg_dem_SDS_fuzzer-6628185583779840
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Mich
Fixes: signed integer overflow: 2138820085 + 16130322 cannot be represented in
type 'int'
Fixes:
50993/clusterfuzz-testcase-minimized-ffmpeg_dem_LIVE_FLV_fuzzer-6704728165187584
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Mi
Fixes: signed integer overflow: 24709512 * 88 cannot be represented in type
'int'
Fixes:
50993/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-6737973728641024
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niederm
Fixes: signed integer overflow: 34242363648 * 538976288 cannot be represented
in type 'long'
Fixes:
50993/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-6577923913547776
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Mich
Fixes: signed integer overflow: -2147483648 - 1 cannot be represented in type
'int'
Fixes:
50993/clusterfuzz-testcase-minimized-ffmpeg_dem_NUT_fuzzer-6566001610719232
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niede
Fixes: signed integer overflow: -2147483648 - 8 cannot be represented in type
'int'
Fixes:
50993/clusterfuzz-testcase-minimized-ffmpeg_dem_RM_fuzzer-6598073725353984
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Nieder
Fixes: signed integer overflow: 119760682 - -2084600173 cannot be represented
in type 'int'
Fixes:
50993/clusterfuzz-testcase-minimized-ffmpeg_dem_VIVIDAS_fuzzer-6745781167587328
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: M
Fixes: signed integer overflow: 32 * 553590816 cannot be represented in type
'int'
Fixes:
50993/clusterfuzz-testcase-minimized-ffmpeg_dem_WAV_fuzzer-6564974517944320
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Nieder
Maybe timestamp / duration validity should be checked earlier
Fixes:
50993/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-6586894739177472
Fixes: signed integer overflow: 0 - -9223372036854775808 cannot be represented
in type 'long'
Found-by: continuous fuzzing process
htt
Fixes: signed integer overflow: 2147483647 + 1 cannot be represented in type
'int'
Fixes:
50993/clusterfuzz-testcase-minimized-ffmpeg_dem_WSVQA_fuzzer-6593408795279360
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Nied
Fixes: signed integer overflow: 9223372036854775807 - -2146905566 cannot be
represented in type 'long'
Fixes:
50993/clusterfuzz-testcase-minimized-ffmpeg_dem_MXF_fuzzer-6570996594769920
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-of
This allows av_mediacodec_release_buffer to be called safely after
the decoder is closed, this was already the case with delay_flush=1.
Note that this causes holding onto frames to keep the decoding context
alive which is generally considered to be the intended behavior.
---
libavcodec/mediacodec
This allows av_mediacodec_release_buffer to be called safely after
the decoder is closed, this was already the case with delay_flush=1.
Note that this causes holding onto frames to keep the decoding context
alive which is generally considered to be the intended behavior
(resending as my patch go
Otherwise, there might be leaks.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/avcodec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c
index 29643199be..a165cdea95 100644
--- a/libavcodec/avcodec.c
+++ b/libavcodec/avcodec.c
@@ -235,6 +235,7 @
The wrapper for the legacy channel layout API already sets
AVCodecContext.channels based upon AVCodecContext.channel_layout
if the latter is set while the former is unset.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/encode.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/en
In particular, check the provided channel layout for encoders
without AVCodec.ch_layouts set. This fixes an infinite loop
in the WavPack encoder (and maybe other issues in other encoders
as well) in case the channel count is zero.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/avcodec.c | 11 +
This ensures that if AVCodecContext.channels or
AVCodecContext.channel_layout are set, AVCodecContext.ch_layout
has the equivalent values after this block.
(In case these values are set inconsistently, the consistency check
for ch_layout below will error out.)
Signed-off-by: Andreas Rheinhardt
-
Now that it is ensured that the old and new channel count/layout
values coincide if the old ones are set, the consistency of the
AVChannelLayout (which is checked before we reach this point)
implies the consistency of the old values, making these checks
here dead code. So remove them.
Signed-off-b
The pcm_bluray encoder has AVCodec.ch_layouts set, so that
ff_encode_preinit() checks that the channel layout in use
is equivalent to one of the layouts from AVCodec.ch_layouts.
Yet equivalent is not the same as identical; in particular,
custom layouts equivalent to native layouts are possible
(and
None of the decoders here have the AV_CODEC_CAP_CHANNEL_CONF set,
so that it is already checked generically that the number of channels
is positive.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/pcm.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c
This encoder has AVCodec.ch_layouts set, so that this is checked
generically.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/libcodec2.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/libcodec2.c b/libavcodec/libcodec2.c
index be9677ddeb..581ef04ce2 100644
--- a/libavcodec/libco
This encoder has AVCodec.ch_layouts set, so that this is checked
generically.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/libshine.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/libavcodec/libshine.c b/libavcodec/libshine.c
index 621c57816a..e266229f03 100644
--- a/libavcodec/lib
This encoder has AVCodec.ch_layouts set, so that this is checked
generically.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/libspeexenc.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/libavcodec/libspeexenc.c b/libavcodec/libspeexenc.c
index 8d2c6347fa..2191e7dac7 100644
--- a/lib
The encoders using this have AVCodec.ch_layouts set, so that
this is checked generically.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpegaudioenc_template.c | 4
1 file changed, 4 deletions(-)
diff --git a/libavcodec/mpegaudioenc_template.c
b/libavcodec/mpegaudioenc_template.c
index
The encoder actually creates files with side channels, not back
channels. See thd_layout in mlp_parse.h.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mlpenc.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/libavcodec/mlpenc.c b/libavcodec/mlpenc.c
index b66f3a
These encoders have AVCodec.ch_layouts set, so ff_encode_preinit()
has already checked that the used channel layout is equivalent
to one of these native layouts. Therefore one can simply
compare the channel masks (with the added complication
that one has to use av_channel_layout_subset() to get it,
ff_encode_preinit() has already checked that the channel layout
is equivalent to one of the layouts in AVCodec.ch_layouts.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mlpenc.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/libavcodec/mlpenc.c b/libavcodec/ml
This decoder does not have the AV_CODEC_CAP_CHANNEL_CONF set,
so that number of channels has to be set by the user before
avcodec_open2().
Signed-off-by: Andreas Rheinhardt
---
libavcodec/dfpwmdec.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/libavcodec/dfpwmdec.c b/libavcodec/dfpwmd
This encoder has AVCodec.ch_layouts set, so ff_encode_preinit()
ensures that the used channel layout is equivalent to one of
these.
Signed-off-by: Andreas Rheinhardt
---
The new channel layout API is more stricter wrt these checks than the
old one; the old one let you pass if channels was set and
ff_encode_preinit() ensures that the channel layout is equivalent
to one of the channel layouts in AVCodec.ch_layout; given that
all of these channel layouts have distinct numbers of channels,
one can therefore uniquely determine the channel layout by
the number of channels.
Signed-off-by: Andreas
Andreas Rheinhardt:
> We have de- and encoders for APTX and APTX HD, yet not FATE tests.
> This commit therefore adds a transcoding test to utilize them.
>
> Furthermore, during creating these tests it turned out that
> the duration is set incorrectly for APTX HD. This will be fixed
> in a future
Michael Niedermayer:
> On Fri, Sep 16, 2022 at 09:00:24AM +0200, Anton Khirnov wrote:
>> Quoting Andreas Rheinhardt (2022-09-09 20:15:22)
>>> Michael Niedermayer:
On Thu, Sep 08, 2022 at 11:44:51PM +0200, Andreas Rheinhardt wrote:
> Michael Niedermayer:
>> On Thu, Sep 08, 2022 at 09:38
Fixes: out of array access
Fixes:
51462/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-662559341582745
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer
---
libavcodec/mjpegdec.c | 2 ++
1 file
Fixes: index 32 out of bounds for type 'uint8_t [16]'
Fixes:
51253/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-5968304170205184
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer
---
libavutil/aes.c |
~4x faster than the C version.
Patch attached.
>From 00112ce7895f48861dd5f4bbfe272874f95c428a Mon Sep 17 00:00:00 2001
From: Lynne
Date: Mon, 19 Sep 2022 05:53:01 +0200
Subject: [PATCH] x86/tx_float: add 15xN PFA FFT AVX SIMD
~4x faster than the C version.
---
doc/transforms.md | 3
> In case something is wrong in vaapi_device_create() you usually just get
> EINVAL, but not the real cause.
> This patch allows to return the cause as set in errno.
> EINVAL is used for kernel driver name mismatch.
> ENODEV in case vaGetDisplayDRM() fails.
> Also changed:
>Try X11 interface
This fixes a regression from commit 36117968ad.
wrapped_url_read() used to be able to return positive number from
ffurl_read(). It relies on the result to check if EOF is reached in
async_buffer_task().
Test case:
ffmpeg -f lavfi -i testsrc -t 1 test.mp4
ffmpeg -i async:test.mp4
Signed-off-b
On Wed, 2022-09-07 at 22:56 +0100, Mark Thompson wrote:
> On 23/08/2022 09:19, Fei Wang wrote:
> > From: Linjie Fu
> >
> > Add HWACCEL_CAP_INTERNAL_ALLOC flag to indicate hwaccels are able
> > to
> > re-allocate surface internally through ff_decode_get_hw_frames_ctx.
> > So that hwaccels don't ne
48 matches
Mail list logo