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 file changed, 2
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 changed, 1
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
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/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
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
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
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.
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
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
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
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
are 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
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,
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
---
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
+++
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
+++
are 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
are 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
are 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
are 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
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
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
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
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
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
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
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.c | 5
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
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 deletion
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 deletion
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
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
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
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..bf5a687239 100755
--- a/configure
+++ b/configure
@@ -7173,8 +7173,9 @@ check_optflags -fno-signed-zeros
if enabled lto
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(-)
diff
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
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 <kaspe...@gmail.
---
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
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
+++
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
+++
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
+++
2015-02-08 10:48 GMT+01:00 Carl Eugen Hoyos ceho...@ag.or.at:
Mickaël Raulet mraulet at 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
2015-01-25 21:36 GMT+01:00 Hendrik Leppkes h.lepp...@gmail.com:
On Sun, Jan 25, 2015 at 7:44 PM, James Almer jamr...@gmail.com wrote:
On 25/01/15 2:47 PM, Hendrik Leppkes wrote:
On Sun, Jan 25, 2015 at 6:43 PM, Michael Niedermayer michae...@gmx.at
wrote:
On Sun, Jan 25, 2015 at
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 kaspe...@gmail.com
---
libavformat/rtmpproto.c | 33 +++--
1 file changed, 19
2014-10-19 16:40 GMT+02:00 Michael Niedermayer michae...@gmx.at:
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
AVOption
47 matches
Mail list logo