Fixes libavcodec/decode.c:1035:61: runtime error: member access within
null pointer of type 'const struct AVCodecHWConfigInternal'.
This can happen when hwaccel fails to initialize and hw_configs[i] is
NULL.
Signed-off-by: Kacper Michajłow
---
libavcodec/decode.c | 2 +-
1 file
Fixes runtime error: member access within misaligned address
for type 'av_alias64', which requires 8 byte alignment.
VP9mv is aligned to 4 bytes, so instead doing 8 bytes clear, let's do
2 times 4 bytes.
Signed-off-by: Kacper Michajłow
---
libavcodec/vp9mvs.c | 3 ++-
1
Fixes use of uninitialized value in memcmp below, reported by MSAN.
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavformat/nuv.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavformat/nuv.c b/libavformat/nuv.c
index 507a73b0fe..49915ecf16 100644
--- a
Fixes use of uninitialized value, reported by MSAN.
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavcodec/jpegxl_parser.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/libavcodec/jpegxl_parser.c b/libavcodec/jpegxl_parser.c
index 8c45e1a1b7..8371d78a45
Fixes use of uninitialized value, reported by MSAN.
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavcodec/jpegxl_parser.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/jpegxl_parser.c b/libavcodec/jpegxl_parser.c
index 8c45e1a1b7..f833f844c4 100644
--- a/libavcodec
Fixes use of uninitialized value, reported by MSAN.
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavcodec/parser.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/parser.c b/libavcodec/parser.c
index af17ee9c15..426cc314fb 100644
--- a/libavcodec/parser.c
+++ b
Fixes use of uninitialized value, reported by MSAN. Specifically in
jpegxl parser.
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavformat/img2dec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index ba52353074..c667d8574c
Fixes use of uninitialized value, reported by MSAN.
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavformat/jpegxl_anim_dec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/jpegxl_anim_dec.c b/libavformat/jpegxl_anim_dec.c
index ac95d3b961..2338a2e8c0 100644
--- a
Fixes regression in vf_nnedi after
24dc6d386c6f7edb8f6945319f53a7f0b1642bb8 and vf_estdif while at it.
Signed-off-by: Kacper Michajłow
---
libavfilter/vf_estdif.c | 2 +-
libavfilter/vf_nnedi.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_estdif.c b
Fix const corectness and zero init the struct. This example code would actually
crash when initializing string.
---
libavutil/opt.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavutil/opt.h b/libavutil/opt.h
index 9a76a47..9430b98 100644
--- a/libavutil/opt.h
+++ b/l
This fixes crash in avformat_open_input() when accessing
protocol_whitelist field.
---
libavformat/rtpdec_asf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtpdec_asf.c b/libavformat/rtpdec_asf.c
index 8459a51..e344376 100644
--- a/libavformat/rtpdec_asf.c
+++ b
This fixes crash in avformat_open_input() when accessing
protocol_whitelist field.
---
libavformat/rtpdec_asf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtpdec_asf.c b/libavformat/rtpdec_asf.c
index 8459a51..2c09fda 100644
--- a/libavformat/rtpdec_asf.c
+++ b
---
configure | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 398e843..3bfd514 100755
--- a/configure
+++ b/configure
@@ -6317,9 +6317,9 @@ EOF
check_func strtoll || add_cflags -Dstrtoll=_strtoi64
check_func strtoull || add_cflags -Ds
With LTO enabled exported symbol entry looks like:
av_audio_convert @3 DATA
In order to maintain valid format we need to strip everything after @.
This patch fixes linking libraries compiled with MinGW toolchain with LTO
enabled.
Signed-off-by: Kacper Michajłow
---
configure | 4 ++--
1 file
App is always first in the url path. This commit fixes the case when URL is
provides as "rtmp://server[:port]/app" and playpath is declared in
AVOption.
Signed-off-by: Kacper Michajłow
---
libavformat/rtmpproto.c | 33 +++--
1 file changed, 19 inserti
2014-10-19 16:40 GMT+02:00 Michael Niedermayer :
>
> On Sun, Oct 19, 2014 at 02:12:14PM +0200, Kacper Michajłow wrote:
> > App is always first in the url path. This commit fixes the case when URL is
> > provides as "rtmp://server[:port]/app" and playpath is declared in
For URLs "rtmp://server[:port]/foo" determine what `foo` refers to. If
application name has been defined by the user assume that `foo` is a
playpath, otherwise assume application name.
Signed-off-by: Kacper Michajłow
---
libavformat/rtmpproto.c | 39 +---
Fixes remaining \r\n is ASS header after 57c545090d.
---
libavcodec/libaribb24.c | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/libavcodec/libaribb24.c b/libavcodec/libaribb24.c
index 009c995ded..0e4fa9935c 100644
--- a/libavcodec/libaribb24.c
+++ b/
Fixes remaining \r\n is ASS header after 57c545090d.
---
libavcodec/libaribcaption.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/libavcodec/libaribcaption.c b/libavcodec/libaribcaption.c
index 0b67d41772..46a2a591c5 100644
--- a/libavcodec/libar
Fixes remaining \r\n is ASS header after 57c545090d.
Fixes AVERROR_BUG error during init as this decoder expected `\r\n` in
default ASS header. strstr(..., "\r\n[Events]\r\n") failed after changes
in 57c545090d.
Fixes: 57c545090d
---
libavcodec/libzvbi-teletextdec.c | 6 +++---
1 file changed, 3
unknown or unspecified or specified by
other means not specified in this Specification.
Signed-off-by: Kacper Michajłow
---
libavcodec/h2645_sei.c | 55 ++
1 file changed, 39 insertions(+), 16 deletions(-)
diff --git a/libavcodec/h2645_sei.c b/libavcodec
Also reject input if it is too short.
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavformat/data_uri.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/data_uri.c b/libavformat/data_uri.c
index 3868a19630..f97ecbab37 100644
--- a/libavformat
This fixes passing options dict.
Fixes some timeouts found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavformat/srtpproto.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavformat/srtpproto.c b/libavformat/srtpproto.c
index 61669e05ad..02cf156327 100644
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavformat/rtpproto.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index b1cdf061f0..15d0050936 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -379,6 +379,7
Fixes remaining \r\n is ASS header after 57c545090d.
Signed-off-by: Kacper Michajłow
---
libavcodec/libaribb24.c | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/libavcodec/libaribb24.c b/libavcodec/libaribb24.c
index 009c995ded..0e4fa9935c 100644
Fixes remaining \r\n is ASS header after 57c545090d.
Signed-off-by: Kacper Michajłow
---
libavcodec/libaribcaption.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/libavcodec/libaribcaption.c b/libavcodec/libaribcaption.c
index 0b67d41772
Fixes remaining \r\n is ASS header after 57c545090d.
Fixes AVERROR_BUG error during init as this decoder expected `\r\n` in
default ASS header. strstr(..., "\r\n[Events]\r\n") failed after changes
in 57c545090d.
Fixes: 57c545090d
Signed-off-by: Kacper Michajłow
---
libavcod
It may be invalidated by the time it is used.
Fixes use after free when accessing current segment.
Fixes: #10825
Signed-off-by: Kacper Michajłow
---
libavformat/hls.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 214a99c7ba..62473a15dd
Signed-off-by: Kacper Michajłow
---
libavformat/rtsp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index b0c61ee00a..4b067ee76b 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -135,6 +135,8 @@ static AVDictionary *map_to_opts
Fixes overflow check for bit_rate multiplication few lines below.
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavformat/rpl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/rpl.c b/libavformat/rpl.c
index 09d0b68f74..32a762b60a 100644
--- a/libavformat/rpl.c
Signed-off-by: Kacper Michajłow
---
libavformat/data_uri.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/data_uri.c b/libavformat/data_uri.c
index 3868a19630..5991ad4ed4 100644
--- a/libavformat/data_uri.c
+++ b/libavformat/data_uri.c
@@ -73,7 +73,7 @@ static
unknown or unspecified or specified by
other means not specified in this Specification.
Signed-off-by: Kacper Michajłow
---
libavcodec/h2645_sei.c | 53 +-
1 file changed, 37 insertions(+), 16 deletions(-)
diff --git a/libavcodec/h2645_sei.c b/libavcodec
unknown or unspecified or specified by
other means not specified in this Specification.
Signed-off-by: Kacper Michajłow
---
libavcodec/h2645_sei.c | 53 +-
1 file changed, 37 insertions(+), 16 deletions(-)
diff --git a/libavcodec/h2645_sei.c b/libavcodec
unknown or unspecified or specified by
other means not specified in this Specification.
Signed-off-by: Kacper Michajłow
---
libavcodec/h2645_sei.c | 55 ++
1 file changed, 39 insertions(+), 16 deletions(-)
diff --git a/libavcodec/h2645_sei.c b/libavcodec
unknown or unspecified or specified by
other means not specified in this Specification.
Signed-off-by: Kacper Michajłow
---
libavcodec/h2645_sei.c | 55 ++
1 file changed, 39 insertions(+), 16 deletions(-)
diff --git a/libavcodec/h2645_sei.c b/libavcodec
It may be invalidated by the time it is used.
Fixes use after free when accessing current segment.
Fixes: #10825
---
libavformat/hls.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index f6b44c2e35..94bc6bc064 100644
--- a/libavformat/hls.c
+++ b/li
Signed-off-by: Kacper Michajłow
---
libavcodec/vulkan_decode.c | 2 +-
libavcodec/vulkan_decode.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/vulkan_decode.c b/libavcodec/vulkan_decode.c
index f20733fb39..04350578f9 100644
--- a/libavcodec/vulkan_decode.c
Fixes:
VUID-VkVideoSessionCreateInfoKHR-pStdHeaderVersion-07190
VUID-VkVideoSessionCreateInfoKHR-pStdHeaderVersion-07191
As a bonus avoids crashing AMD video driver on Windows, which currently
doesn't advertise support.
Signed-off-by: Kacper Michajłow
---
libavcodec/vulkan_decode.
Signed-off-by: Kacper Michajłow
---
libavcodec/vulkan_decode.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/vulkan_decode.c b/libavcodec/vulkan_decode.c
index 7607edf52e..0d561b7450 100644
--- a/libavcodec/vulkan_decode.c
+++ b/libavcodec/vulkan_decode.c
@@ -863,6 +863,9
Other C++ standard libraries exist. Also, this is not a proper way to
link the standard library anyway. Instead when a C++ dependency is
detected, switch to the C++ compiler driver to properly link everything.
Signed-off-by: Kacper Michajłow
---
configure | 27 ++-
1
If libplacebo is statically linked with glslang it requires C++ standard
library. Also recently more C++ code has been added to libplacebo.
Signed-off-by: Kacper Michajłow
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index 90ee6e4f7d..ed714639d1 100755
If libplacebo is statically linked with glslang it requires C++ standard
library. Also recently more C++ code has been added to libplacebo.
Signed-off-by: Kacper Michajłow
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index f3ff48586a..0dbdffb5c1 100755
Other C++ standard libraries exist. Also, this is not a proper way to
link the standard library anyway. Instead when a C++ dependency is
detected, switch to the C++ compiler driver to properly link everything.
Signed-off-by: Kacper Michajłow
---
configure | 26 ++
1 file
Signed-off-by: Kacper Michajłow
---
configure | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 9e51abd0d3..bf5a687239 100755
--- a/configure
+++ b/configure
@@ -7173,8 +7173,9 @@ check_optflags -fno-signed-zeros
if enabled lto; then
Fixes function prototype mismatch, warning Wlto-type-mismatch.
Signed-off-by: Kacper Michajłow
---
libswscale/x86/rgb2rgb_template.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libswscale/x86/rgb2rgb_template.c
b/libswscale/x86/rgb2rgb_template.c
index 4aba25dd51
Signed-off-by: Kacper Michajłow
---
configure | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 9e51abd0d3..a651fdec5a 100755
--- a/configure
+++ b/configure
@@ -7173,8 +7173,9 @@ check_optflags -fno-signed-zeros
if enabled lto; then
Fixes the conversion of double values to integer, which may be out of
the representable range.
Also, bail out on overflow check instead of printing an error only.
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavfilter/vf_scale.c | 33 +++--
1 file
Fixes Clang warning.
Signed-off-by: Kacper Michajłow
---
libavcodec/wmavoice.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c
index 258c71330c..3db73773b7 100644
--- a/libavcodec/wmavoice.c
+++ b/libavcodec/wmavoice.c
@@ -655,7
Can happen after calling avformat_find_stream_info() when the codec
fails to open, but return value is 0 and subsequent uses of this context
have zero value in channel number.
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavformat/vpk.c | 2 ++
1 file changed, 2 insertions(+)
diff
Fixes: use-of-uninitialized-value
Found by OSS-Fuzz.
---
libavformat/mov.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 1052691936..f2d8aee766 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -7096,7 +7096,7 @@ static int
2015-01-25 21:36 GMT+01:00 Hendrik Leppkes :
> On Sun, Jan 25, 2015 at 7:44 PM, James Almer wrote:
>
> > On 25/01/15 2:47 PM, Hendrik Leppkes wrote:
> > > On Sun, Jan 25, 2015 at 6:43 PM, Michael Niedermayer >
> > > wrote:
> > >
> > >> On Sun, Jan 25, 2015 at 05:02:58PM +0100, Reimar Döffinger w
2015-02-08 10:48 GMT+01:00 Carl Eugen Hoyos :
> Mickaël Raulet insa-rennes.fr> writes:
>
> > As we can consider, we won't have 4k interlaced
> > content, copying a field into a frame should be ok.
> > This is what has been done in this implementation.
>
> Do you have a sample?
> I am only interes
---
configure | 2 +-
libavcodec/libdcadec.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index a449bc7..1ef83e3 100755
--- a/configure
+++ b/configure
@@ -4925,7 +4925,7 @@ enabled libcelt && require libcelt celt/celt.h
celt_
Drop per frame decode messages to AV_LOG_TRACE level.
Signed-off-by: Kacper Michajłow
---
libavcodec/vulkan_av1.c | 2 +-
libavcodec/vulkan_h264.c | 2 +-
libavcodec/vulkan_hevc.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/vulkan_av1.c b/libavcodec
LLVM tools print installation path upon execution. If one uses LLVM
tools bundled with Microsoft Visual Studio installation, they would be
incorrectly detected as Microsoft's ones.
Signed-off-by: Kacper Michajłow
---
configure | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Content-Type can include charset and boundary which is not a part of
mime type and shouldn't be copied as such.
Fixes HLS playback when the Content-Type includes additional fields.
Signed-off-by: Kacper Michajłow
---
libavformat/http.c | 2 +-
1 file changed, 1 insertion(+), 1 del
Content-Type can include charset and boundary which is not a part of
mime type and shouldn't be copied as such.
Fixes HLS playback when the Content-Type includes additional fields.
Signed-off-by: Kacper Michajłow
---
libavformat/http.c | 2 +-
1 file changed, 1 insertion(+), 1 del
Fixes compilation with clang which errors out on Wint-conversion.
Signed-off-by: Kacper Michajłow
---
libavutil/hwcontext_vulkan.c | 2 +-
libavutil/vulkan.h | 4
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil
Address of dll imported variables can't be used for constant
initialization in C language modes.
---
libavfilter/vf_libplacebo.c | 39 -
1 file changed, 21 insertions(+), 18 deletions(-)
diff --git a/libavfilter/vf_libplacebo.c b/libavfilter/vf_libplacebo.c
ind
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavcodec/jpegxl_parser.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/jpegxl_parser.c b/libavcodec/jpegxl_parser.c
index 8c45e1a1b7..746c429b9c 100644
--- a/libavcodec/jpegxl_parser.c
+++ b
Fixes: 8542f9c4f17125d483c40c0c5723842f1c982f81
Signed-off-by: Kacper Michajłow
---
libavfilter/af_ashowinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/af_ashowinfo.c b/libavfilter/af_ashowinfo.c
index b83847b866..de94d4c7c2 100644
--- a/libavfilter
when
trying to write to a read-only memory page.
Signed-off-by: Kacper Michajłow
---
libavutil/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/file.c b/libavutil/file.c
index db8507286b..4ef940a6c3 100644
--- a/libavutil/file.c
+++ b/libavutil/file.c
@@ -112,7
EOF check after reading the size and type after seek,
ensuring the EOF flag is set when necessary.
Signed-off-by: Kacper Michajłow
---
libavformat/mov.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 2c8be51063..9a388bf723 100644
EOF check after reading the size and type, ensuring the
EOF flag is set when necessary.
Signed-off-by: Kacper Michajłow
---
libavformat/mov.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 2c8be51063..9a388bf723 100644
--- a
amf_device_create() calls amf_device_uninit() on errors, but if things
were not initialized it will null deref amf_ctx->factory.
Fixes: https://github.com/mpv-player/mpv/issues/15814
Signed-off-by: Kacper Michajłow
---
libavutil/hwcontext_amf.c | 6 --
1 file changed, 4 insertions(+)
Commit 8542f9c4f17125d483c40c0c5723842f1c982f81 changed replaygain peak
values to use 100k instead of UINT32_MAX as peak, with possibility of
overflow. af_ashowinfo was never updated to reflect this, so we update
it now.
Fixes: 8542f9c4f17125d483c40c0c5723842f1c982f81
Signed-off-by: Kacper
Signed-off-by: Kacper Michajłow
---
libavformat/vqf.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavformat/vqf.c b/libavformat/vqf.c
index 58b1546f53..fbe54739cd 100644
--- a/libavformat/vqf.c
+++ b/libavformat/vqf.c
@@ -66,10 +66,10 @@ static int add_metadata
---
tools/target_swr_fuzzer.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/target_swr_fuzzer.c b/tools/target_swr_fuzzer.c
index f154a11632..59fa24af64 100644
--- a/tools/target_swr_fuzzer.c
+++ b/tools/target_swr_fuzzer.c
@@ -79,7 +79,7 @@ int LLVMFuzzerTestOneIn
Fixes use of bultins on clang x86_64-pc-windows-msvc which does not
define any __GNUC__. Also on other targets __GNUC__ is defined to 4 by
default, so any feature testing based on version is not really valid.
Signed-off-by: Kacper Michajłow
---
libavutil/intmath.h | 12
Minor fixes and for fuzzing targets. Mostly motivated to reduce spam in
the build log. While at it, tiff/tdsc check was fixed, which was real bug.
Kacper Michajłow (6):
tools/Makefile: add identifier macros for specific fuzzing targets
tools/target_dec_fuzzer: fix tiff/tdsc check
tools
This will allow to add conditional code per target codec.
Signed-off-by: Kacper Michajłow
---
tools/Makefile | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/Makefile b/tools/Makefile
index 7ae6e3cb75..3f99b337e5 100644
--- a/tools/Makefile
+++ b/tools/Makefile
To avoid spam in log, each fuzzer is built separately so it's amplified
a lot.
Signed-off-by: Kacper Michajłow
---
tools/target_dec_fuzzer.c | 41 +++
1 file changed, 24 insertions(+), 17 deletions(-)
diff --git a/tools/target_dec_fuzzer.c b/
Comparing `FFMPEG_DECODER == tiff` never worked because tiff is not
defined. Original commit expected string compare, but C preprocesor
doesn't work this way.
Fixes: 3371d0611fcd31e0bc72553d88774512a58bd2ef
Signed-off-by: Kacper Michajłow
---
tools/target_dec_fuzzer.c | 2 +-
1 file chang
Signed-off-by: Kacper Michajłow
---
tools/target_dec_fuzzer.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index a15f1a3f9c..7bbf1375d0 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -72,6 +72,8 @@ static
Signed-off-by: Kacper Michajłow
---
tools/target_dem_fuzzer.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/tools/target_dem_fuzzer.c b/tools/target_dem_fuzzer.c
index 19bc1f09c1..e169438ceb 100644
--- a/tools/target_dem_fuzzer.c
+++ b/tools/target_dem_fuzzer.c
@@ -98,10 +98,7 @@ static
Mostly to avoid warnings.
Signed-off-by: Kacper Michajłow
---
tools/target_dem_fuzzer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/target_dem_fuzzer.c b/tools/target_dem_fuzzer.c
index 8e96fad7f8..19bc1f09c1 100644
--- a/tools/target_dem_fuzzer.c
+++ b/tools
Signed-off-by: Kacper Michajłow
---
tools/target_swr_fuzzer.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/target_swr_fuzzer.c b/tools/target_swr_fuzzer.c
index f154a11632..59fa24af64 100644
--- a/tools/target_swr_fuzzer.c
+++ b/tools/target_swr_fuzzer.c
Signed-off-by: Kacper Michajłow
---
compat/w32pthreads.h | 30 ++
libavutil/thread.h | 2 ++
2 files changed, 32 insertions(+)
diff --git a/compat/w32pthreads.h b/compat/w32pthreads.h
index fd6428e29f..83b4819205 100644
--- a/compat/w32pthreads.h
+++ b/compat
Signed-off-by: Kacper Michajłow
---
compat/w32pthreads.h | 30 ++
libavutil/thread.h | 2 ++
2 files changed, 32 insertions(+)
diff --git a/compat/w32pthreads.h b/compat/w32pthreads.h
index fd6428e29f..8d5b4729fa 100644
--- a/compat/w32pthreads.h
+++ b/compat
Clang x86_64-pc-windows-msvc doesn't define __GNUC__.
Signed-off-by: Kacper Michajłow
---
libavformat/internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/internal.h b/libavformat/internal.h
index fe428d85eb..bf83571430 100644
--- a/libavformat/inter
ff-by: Kacper Michajłow
---
libavformat/demux.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavformat/demux.c b/libavformat/demux.c
index 2795863567..ecd4f40da9 100644
--- a/libavformat/demux.c
+++ b/libavformat/demux.c
@@ -383,11 +383,10 @@ void avformat_close_
io_open and io_close2 callbacks may use opaque pointer stored in the
context. They are already inherited, so opaque should also be passed
through.
Fixes IMF playback in mpv.
Signed-off-by: Kacper Michajłow
---
libavformat/imfdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat
ct mingw build. MSVC builds work the same,
because there libraries are passed as files directly to linker command.
This also removes LD_LIB from Win32/64 target as there is one type of
.lib in practice. We cannot build both shared and static as noted by the
next line.
Signed-off-by: Kacper Micha
It's possible to call linker indirectly through driver like Clang. In
which cases linker args has to be prefixed with -Wl.
Signed-off-by: Kacper Michajłow
---
configure | 5 +
1 file changed, 5 insertions(+)
diff --git a/configure b/configure
index c57da316cc..a5c3bd3917 100755
It's possible to call linker indirectly through driver like Clang. In
which cases linker args has to be prefixed with -Wl.
Signed-off-by: Kacper Michajłow
---
configure | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index c57da316cc..0dede
test if "Microsoft" is at the
beginning of the line, as it is always the case.
Signed-off-by: Kacper Michajłow
---
configure | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 534b443f7d..5b2a04ae6a 100755
--- a/configure
+++ b/confi
Minor fixes and for fuzzing targets. Mostly motivated to reduce spam in
the build log. v2 only for rebase only.
Kacper Michajłow (4):
tools/target_dec_fuzzer: move things to suppress
Wdeclaration-after-statement
tools/target_dec_fuzzer: suppress Wunused-function
tools/target_dem_fuzzer
To avoid spam in log, each fuzzer is built separately so it's amplified
a lot.
Signed-off-by: Kacper Michajłow
---
tools/target_dec_fuzzer.c | 31 ++-
1 file changed, 18 insertions(+), 13 deletions(-)
diff --git a/tools/target_dec_fuzzer.c b/
Signed-off-by: Kacper Michajłow
---
tools/target_dec_fuzzer.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index 7afb23619e..6950d134d9 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -72,6 +72,8 @@ static
Mostly to avoid warnings.
Signed-off-by: Kacper Michajłow
---
tools/target_dem_fuzzer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/target_dem_fuzzer.c b/tools/target_dem_fuzzer.c
index 8e96fad7f8..19bc1f09c1 100644
--- a/tools/target_dem_fuzzer.c
+++ b/tools
Signed-off-by: Kacper Michajłow
---
tools/target_dem_fuzzer.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/tools/target_dem_fuzzer.c b/tools/target_dem_fuzzer.c
index 19bc1f09c1..e169438ceb 100644
--- a/tools/target_dem_fuzzer.c
+++ b/tools/target_dem_fuzzer.c
@@ -98,10 +98,7 @@ static
upport for this flag. Clang-CL
sets _MSC_FULL_VER as one example.
Signed-off-by: Kacper Michajłow
---
configure | 6 ++
1 file changed, 6 insertions(+)
diff --git a/configure b/configure
index ed6430ea32..20276a3c4f 100755
--- a/configure
+++ b/configure
@@ -5276,6 +5276,12 @@ else
ar_
Instead of accessing unintialized data when input is shorter than
expected size.
Fixes use of uninitialized value in MSAN build.
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavformat/scd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/scd.c b
Signed-off-by: Kacper Michajłow
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 07cea8afeb..650300dadc 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -547,6 +547,7 @@ James Darnley
Jan Ekström
Joakim Plate
Jun Zhao
+Kacper Michajłow
Kieran
Fixes: signed integer overflow: 9223372036854737920 + 1649410 cannot be
represented in type 'int64_t'
Fixes OSS-Fuzz: 410100610
Signed-off-by: Kacper Michajłow
---
libavformat/subfile.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavformat/s
This aligns declared function types in checkasm with real definition.
Fixes FATE: checkasm-{sw_rgb,sw_scale,sw_yuv2rgb,sw_yuv2yuv}
Fixes: runtime error: call to function through pointer to incorrect
function type
Fixes: c1a0e657638f7007dcc807a2d985c22631fcd6d3
Signed-off-by: Kacper Michajłow
Fixes: avcodec/opus/dec.c: runtime error: applying non-zero offset 10 to null
pointer
Signed-off-by: Kacper Michajłow
---
libavcodec/opus/dec.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/opus/dec.c b/libavcodec/opus/dec.c
index 6c59dc1f46..dbefcddb0c 100644
--- a
obtaining the return value, simply realloc the buffer
to the actual size needed for output string.
Fixes OOM when parsing filter graph string.
Fixes OSS-Fuzz: 394983446
Signed-off-by: Kacper Michajłow
---
libavutil/avstring.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
obtaining the return value, simply realloc the buffer
to the actual size needed for output string.
Fixes OOM when parsing filter graph string.
Fixes OSS-Fuzz: 394983446
Signed-off-by: Kacper Michajłow
---
libavutil/avstring.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
Signed-off-by: Kacper Michajłow
---
fftools/cmdutils.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index be21ed2c6c..e442935cae 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -255,9 +255,10 @@ static int write_option(void
1 - 100 of 136 matches
Mail list logo