47 Commits

Author SHA256 Message Date
7a80cb672b Accepting request 1311467 from multimedia:libs
- Add ffmpeg-4-CVE-2025-59728.patch: avformat/dashdec: Allocate
  space for appended "/" (bsc#1251137, CVE-2025-59728).

OBS-URL: https://build.opensuse.org/request/show/1311467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=89
2025-10-16 15:38:20 +00:00
e548983eb9 Accepting request 1309818 from multimedia:libs
- add missing closing brace to ffmpeg-4-CVE-2025-7700.patch

OBS-URL: https://build.opensuse.org/request/show/1309818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=88
2025-10-08 19:53:27 +00:00
c5c45b74d1 Accepting request 1307666 from multimedia:libs
- Add glslang16.patch to resolve FTBFS

OBS-URL: https://build.opensuse.org/request/show/1307666
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=87
2025-09-29 14:33:45 +00:00
9c7d618fd0 Accepting request 1299358 from multimedia:libs
bsc ref udpate

OBS-URL: https://build.opensuse.org/request/show/1299358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=86
2025-08-15 19:51:04 +00:00
OBS User unknown
806bbf2cd0 [info=677442bb8a7751a8b8beaa0bd61cd166afb5af62c9e289c47cca59706850303e]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=246
2025-08-14 09:48:59 +00:00
3261bdd454 Accepting request 1298437 from multimedia:libs
- Add ffmpeg-4-CVE-2025-7700.patch: Add check for the return value
  of av_malloc_array() and av_calloc() to avoid potential NULL
  pointer dereference(CVE-2025-7700, bsc#1246790).

OBS-URL: https://build.opensuse.org/request/show/1298437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=85
2025-08-09 17:59:04 +00:00
OBS User unknown
ef6fd9f8f4 [info=8bf39969f74af9912efd438e361797c9c6c9429b734746f57789257a3513a324]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=245
2025-08-08 19:35:20 +00:00
OBS User unknown
9de009f296 [info=11b18021fb9d000e5c9493b739f350a4f6b98cbd8a6ee7507df017e133749edf]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=244
2025-07-28 08:48:00 +00:00
OBS User unknown
888f0fb018 [info=2f35f5fc34b59659cedc56a644aa169611341e1f3d66858c21a464aa28b10d59]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=243
2025-07-25 12:30:48 +00:00
OBS User unknown
be26357aff [info=c3f1a1e693811a6fb222c5b6f84adbe36dd433e1d29e69c052bf4b6f1d5cae58]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=242
2025-07-25 12:18:50 +00:00
c6364f59c1 Accepting request 1286274 from multimedia:libs
add bugIDs

OBS-URL: https://build.opensuse.org/request/show/1286274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=84
2025-06-18 17:29:49 +00:00
OBS User unknown
7f31f77bec [info=c97634de0a56f72a52e61f6c941daf61ab02a01e16e69a2a4feb41bdc629fee3]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=241
2025-06-17 07:05:11 +00:00
7f29d235f4 Accepting request 1284835 from multimedia:libs
fix bugIDs

OBS-URL: https://build.opensuse.org/request/show/1284835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=83
2025-06-11 14:21:32 +00:00
OBS User unknown
a8b3d79baa [info=7a9fc524c2dc0f865f3c904696d75eb3ede85289b924bb044950da875d71fb50]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=240
2025-06-11 12:59:45 +00:00
75a66d8c3b Accepting request 1283411 from multimedia:libs
- Add ffmpeg-4-CVE-2024-36618.patch:

OBS-URL: https://build.opensuse.org/request/show/1283411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=82
2025-06-10 06:57:46 +00:00
OBS User unknown
90c139f607 [info=b0492f21788e3531689b3d71465d576aed32d6c7b6bb7d04a6d851c1c6c6a711]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=239
2025-06-05 15:58:42 +00:00
bfd7399b34 Accepting request 1281551 from multimedia:libs
- Update to release 4.4.6

OBS-URL: https://build.opensuse.org/request/show/1281551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=81
2025-06-01 19:36:33 +00:00
OBS User unknown
9ca9a7bc26 [info=420e661938e4368d566150fe417d839dd54c1787c020fe7f7bd9c4d6cdcebe6b]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=238
2025-05-30 18:31:20 +00:00
OBS User unknown
0b07fabbd2 [info=86b52e2cf6201f5d2442903c83280299966679862585a7a13361e87c9bffff21]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=237
2025-05-29 20:57:58 +00:00
952a216a39 Accepting request 1256073 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1256073
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=80
2025-03-28 08:35:54 +00:00
OBS User unknown
d124a61f70 [info=2ddfcb257c4def857918761587f2fed206c5baa5c74592ae5648d10e6952095e]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=236
2025-03-25 21:16:28 +00:00
0a0296793c Accepting request 1252555 from multimedia:libs
fix changelog order

OBS-URL: https://build.opensuse.org/request/show/1252555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=79
2025-03-13 14:04:15 +00:00
OBS User unknown
7c4f05ea0c [info=5d7becce2922140a0cba7bad200cf85e644953395c6565bd7406b306572f1c50]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=235
2025-03-12 17:55:19 +00:00
8107b8436b Accepting request 1252220 from multimedia:libs
- Add 0001-avcodec-libsvtav1-unbreak-build-with-latest-svtav1.patch
  to build with SVT-AV1 3.0.0.

- sync with SLE changelog (forward from qzhao)

OBS-URL: https://build.opensuse.org/request/show/1252220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=78
2025-03-12 14:20:24 +00:00
OBS User unknown
171f3bb6d9 [info=46737e4a9b4b9e54bf1fc706c0687cedd2971788e3d017d686eac1f7f95d372a]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=234
2025-03-12 07:09:04 +00:00
OBS User unknown
20f03e350a [info=65b6edb8950ac36ce172939f560046c58edf60405b04f3f6d3b8dc3c32442a5b]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=233
2025-03-05 10:23:53 +00:00
93a8c4cc84 Accepting request 1249550 from multimedia:libs
forward #13 from qzhao

OBS-URL: https://build.opensuse.org/request/show/1249550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=77
2025-03-03 15:04:35 +00:00
OBS User unknown
fefed69fa3 [info=f7026a3e88fc7d3d1e3f9c65247ffb2393f90718f2ec1a207e006758528c970c]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=232
2025-03-02 15:16:44 +00:00
1c0fe99c62 Accepting request 1249416 from multimedia:libs
- Add ffmpeg-4-CVE-2024-35368.patch:
  Backporting 45133009 from upstream, After having created the
  AVBuffer that is put into frame->buf[0], ownership of several
  objects Fix double-free on the AVFrame is unreferenced.
  (CVE-2024-35368, bsc#1234028)

OBS-URL: https://build.opensuse.org/request/show/1249416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=76
2025-03-02 11:17:21 +00:00
abbfbfa335 Accepting request 1249264 from multimedia:libs
fix order of changelog messages (forward from manfred-h)

OBS-URL: https://build.opensuse.org/request/show/1249264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=75
2025-03-01 18:16:13 +00:00
OBS User unknown
5794b0d7ba [info=bdf0a9b75cdd2ec4b51fcca4dbf10a2206639b0ba7bf3934833fbb286fb59f3b]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=231
2025-03-01 15:21:16 +00:00
OBS User unknown
258a85a375 [info=230356c4f514abb518f1818f1d8d4c89c01d95dc2d7d1ae500dc9effa6bed41f]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=230
2025-02-28 15:37:47 +00:00
d2683da3c3 Accepting request 1248239 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1248239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=74
2025-02-25 15:40:19 +00:00
OBS User unknown
d0ef177e63 [info=71230d5ab33ebb8b540bce6771743d3d17a008cbe9ffb2831c8c2522bb9e4f9a]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=229
2025-02-24 20:19:57 +00:00
fe6b3d0bf9 Accepting request 1247765 from multimedia:libs
- Adjust bconds to build the package in SLFO without xvidcore.

OBS-URL: https://build.opensuse.org/request/show/1247765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=73
2025-02-22 19:05:32 +00:00
OBS User unknown
5ceafeff26 [info=b6a9351332f68f9e2bb88064077f83991397ad6f174d995f76f27f9fb779232e]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=228
2025-02-22 00:33:23 +00:00
7d49465fd5 Accepting request 1235206 from multimedia:libs
- Update to release 4.4.5

OBS-URL: https://build.opensuse.org/request/show/1235206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=72
2025-01-07 19:50:08 +00:00
OBS User unknown
34eff8d181 [info=52f36ca5b3383586c1ae8abf1b64353de97005272d185339a0eca858376b3ac2]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=227
2025-01-06 12:57:32 +00:00
1362fec4c8 Accepting request 1201542 from multimedia:libs
- Add ffmpeg-4-CVE-2024-7055.patch:

OBS-URL: https://build.opensuse.org/request/show/1201542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=71
2024-09-18 13:26:16 +00:00
OBS User unknown
c4e27141b5 [info=79e46abe5636072004aa47101b1fe0b5408a73862b22b9beadc828972944d9f3]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=226
2024-09-17 07:58:30 +00:00
92c18e9e93 Accepting request 1196704 from multimedia:libs
- Add 0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch [boo#1229338]

OBS-URL: https://build.opensuse.org/request/show/1196704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=70
2024-08-29 13:42:50 +00:00
OBS User unknown
dc18ee5b7c [info=9e43e5445b98d8995b81b0fc26eca3b5334fb0e654fa27f34d5f3cd90ff11654]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=225
2024-08-28 11:02:36 +00:00
84317f8495 Accepting request 1190554 from multimedia:libs
- Add ffmpeg-4-CVE-2024-32230.patch:
  Backporting 96449cfe from upstream, Fix 1 line and one column images.
  (CVE-2024-32230, bsc#1227296)

OBS-URL: https://build.opensuse.org/request/show/1190554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=69
2024-08-01 20:03:26 +00:00
OBS User unknown
529d52fc41 [info=32083452007930a19f6845ff9dabd64715f2bca36f8a20c936c161f6f8480517]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=224
2024-07-31 04:06:23 +00:00
4034f76215 Accepting request 1189862 from multimedia:libs
- Add ffmpeg-c99.patch so that the package conforms to the C99
  standard and builds on i586 with GCC 14.

OBS-URL: https://build.opensuse.org/request/show/1189862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-4?expand=0&rev=68
2024-07-30 09:53:18 +00:00
OBS User unknown
d024d21553 [info=d4a851e48e2ef17c1f3c81416ee204973636088059021e1c36a028ddbb7991c7]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=223
2024-07-27 05:17:58 +00:00
b97361eb25 [info=90ca7e24a6cbe5b7139f3c99d355ae4ecd32b73586c4e953d7b4bf8e6d02cfaf]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=222
2024-07-09 14:10:53 +00:00
10 changed files with 7 additions and 260 deletions

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1760495051
commit: 0cacb49da48ff116c5cdfb43b3550578dc885e4023f39c1b49ac9ed044f4826f
url: https://src.opensuse.org/jengelh/ffmpeg-4
revision: master

3
build.specials.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:54bc21216667c7495f880e7b6c30fbb614b1435601485e86cced1fe4848ed11e
size 256

View File

@@ -1,39 +0,0 @@
From 6b1f68ccb04d791f0250e05687c346a99ff47ea1 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michael@niedermayer.cc>
Date: Wed, 3 May 2023 13:08:35 +0200
Subject: [PATCH] avformat/hls: fail on probing non hls/m3u8 file extensions
Its unexpected that a .avi or other "standard" file turns into a playlist.
The goal of this patch is to avoid this unexpected behavior and possible
privacy or security differences.
Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
libavformat/hls.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 8a96a37ff9..11e345b280 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -2532,8 +2532,15 @@ static int hls_probe(const AVProbeData *p)
if (strstr(p->buf, "#EXT-X-STREAM-INF:") ||
strstr(p->buf, "#EXT-X-TARGETDURATION:") ||
- strstr(p->buf, "#EXT-X-MEDIA-SEQUENCE:"))
+ strstr(p->buf, "#EXT-X-MEDIA-SEQUENCE:")) {
+
+ if (!av_match_ext(p->filename, "m3u8,hls,m3u")) {
+ av_log(NULL, AV_LOG_ERROR, "Not detecting m3u8/hls with non standard extension\n");
+ return 0;
+ }
+
return AVPROBE_SCORE_MAX;
+ }
return 0;
}
--
2.52.0

View File

@@ -1,39 +0,0 @@
From 954d16fa3f09a04c7917a1c69a5c3e283554cb1d Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michael@niedermayer.cc>
Date: Mon, 15 May 2023 00:56:10 +0200
Subject: [PATCH] avformat/hls: Try to implement RFC8216 playlist refusal
This should fix the regression since 6b1f68ccb04d791f0250e05687c346a99ff47ea1
Should fix Ticket10353 (please test and report cases that still fail)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
libavformat/hls.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 11e345b280..425df3b26b 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -2534,7 +2534,16 @@ static int hls_probe(const AVProbeData *p)
strstr(p->buf, "#EXT-X-TARGETDURATION:") ||
strstr(p->buf, "#EXT-X-MEDIA-SEQUENCE:")) {
- if (!av_match_ext(p->filename, "m3u8,hls,m3u")) {
+ int mime_ok = p->mime_type && !(
+ av_strcasecmp(p->mime_type, "application/vnd.apple.mpegurl") &&
+ av_strcasecmp(p->mime_type, "audio/mpegurl") &&
+ av_strcasecmp(p->mime_type, "audio/x-mpegurl") &&
+ av_strcasecmp(p->mime_type, "application/x-mpegurl")
+ );
+
+ if (!av_match_ext (p->filename, "m3u8,hls,m3u") &&
+ ff_match_url_ext(p->filename, "m3u8,hls,m3u") <= 0 &&
+ !mime_ok) {
av_log(NULL, AV_LOG_ERROR, "Not detecting m3u8/hls with non standard extension\n");
return 0;
}
--
2.52.0

View File

@@ -1,35 +0,0 @@
From a0cb5722fda9bd03b7be31a83b043966f0fd71b8 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michael@niedermayer.cc>
Date: Mon, 15 May 2023 21:28:26 +0200
Subject: [PATCH] avformat/hls: Check mime_ok first
This should be a few nano seconds faster (not measureable)
But Collectively the whole humankind watching hls will safe a minute
Found-by: Leo Izen
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
libavformat/hls.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 425df3b26b..fc29ef0ca9 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -2541,9 +2541,9 @@ static int hls_probe(const AVProbeData *p)
av_strcasecmp(p->mime_type, "application/x-mpegurl")
);
- if (!av_match_ext (p->filename, "m3u8,hls,m3u") &&
- ff_match_url_ext(p->filename, "m3u8,hls,m3u") <= 0 &&
- !mime_ok) {
+ if (!mime_ok &&
+ !av_match_ext (p->filename, "m3u8,hls,m3u") &&
+ ff_match_url_ext(p->filename, "m3u8,hls,m3u") <= 0) {
av_log(NULL, AV_LOG_ERROR, "Not detecting m3u8/hls with non standard extension\n");
return 0;
}
--
2.52.0

View File

@@ -1,44 +0,0 @@
From 5b630743c625669b7c6ee4a01d4e0e8b51d7e636 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michael@niedermayer.cc>
Date: Mon, 15 May 2023 21:33:03 +0200
Subject: [PATCH] avformat/hls: Better message from hls_probe()
Found-by: Kacper Michajlow <kasper93@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
libavformat/hls.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index fc29ef0ca9..2bc142510e 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -2536,17 +2536,23 @@ static int hls_probe(const AVProbeData *p)
int mime_ok = p->mime_type && !(
av_strcasecmp(p->mime_type, "application/vnd.apple.mpegurl") &&
- av_strcasecmp(p->mime_type, "audio/mpegurl") &&
+ av_strcasecmp(p->mime_type, "audio/mpegurl")
+ );
+
+ int mime_x = p->mime_type && !(
av_strcasecmp(p->mime_type, "audio/x-mpegurl") &&
av_strcasecmp(p->mime_type, "application/x-mpegurl")
);
if (!mime_ok &&
+ !mime_x &&
!av_match_ext (p->filename, "m3u8,hls,m3u") &&
ff_match_url_ext(p->filename, "m3u8,hls,m3u") <= 0) {
- av_log(NULL, AV_LOG_ERROR, "Not detecting m3u8/hls with non standard extension\n");
+ av_log(NULL, AV_LOG_ERROR, "Not detecting m3u8/hls with non standard extension and non standard mime type\n");
return 0;
}
+ if (mime_x)
+ av_log(NULL, AV_LOG_WARNING, "mime type is not rfc8216 compliant\n");
return AVPROBE_SCORE_MAX;
}
--
2.52.0

View File

@@ -1,29 +0,0 @@
From d09f50c0f5f045dec35f0ca22c2212fae2378dba Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michael@niedermayer.cc>
Date: Mon, 15 May 2023 21:39:13 +0200
Subject: [PATCH] avformat/hls: remove non standard hls extension
Suggested-by: Kacper Michajlow <kasper93@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
libavformat/hls.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 2bc142510e..4fff4405e8 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -2546,8 +2546,8 @@ static int hls_probe(const AVProbeData *p)
if (!mime_ok &&
!mime_x &&
- !av_match_ext (p->filename, "m3u8,hls,m3u") &&
- ff_match_url_ext(p->filename, "m3u8,hls,m3u") <= 0) {
+ !av_match_ext (p->filename, "m3u8,m3u") &&
+ ff_match_url_ext(p->filename, "m3u8,m3u") <= 0) {
av_log(NULL, AV_LOG_ERROR, "Not detecting m3u8/hls with non standard extension and non standard mime type\n");
return 0;
}
--
2.52.0

View File

@@ -1,35 +0,0 @@
From 95d890bf18e535e1ae5a9e24d801ca021e288804 Mon Sep 17 00:00:00 2001
From: Jonathan Kang <jonathankang@gnome.org>
Date: Thu, 15 Jan 2026 15:28:26 +0800
Subject: [PATCH] swscale/output: Fix integer overflow in
yuv2ya16_X_c_template()
---
libswscale/output.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libswscale/output.c b/libswscale/output.c
index be22279229..49af3818b9 100644
--- a/libswscale/output.c
+++ b/libswscale/output.c
@@ -911,7 +911,7 @@ yuv2ya16_X_c_template(SwsContext *c, const int16_t *lumFilter,
int A = 0xffff;
for (j = 0; j < lumFilterSize; j++)
- Y += lumSrc[j][i] * lumFilter[j];
+ Y += lumSrc[j][i] * (unsigned)lumFilter[j];
Y >>= 15;
Y += (1<<3) + 0x8000;
@@ -920,7 +920,7 @@ yuv2ya16_X_c_template(SwsContext *c, const int16_t *lumFilter,
if (hasAlpha) {
A = -0x40000000 + (1<<14);
for (j = 0; j < lumFilterSize; j++)
- A += alpSrc[j][i] * lumFilter[j];
+ A += alpSrc[j][i] * (unsigned)lumFilter[j];
A >>= 15;
A += 0x8000;
--
2.52.0

View File

@@ -1,36 +1,3 @@
-------------------------------------------------------------------
Thu Jan 15 07:36:04 UTC 2026 - SongChuan Kang <sckang@suse.com>
- Add ffmpeg-4-CVE-2025-63757.patch: Backport 0c6b7f948 from
upstream. swscale/output: Fix integer overflow in
yuv2ya16_X_c_template() (bsc#1255392, CVE-2025-63757).
-------------------------------------------------------------------
Sun Jan 08 10:04:01 UTC 2026 - Cliff Zhao <qzhao@suse.com>
- Add ffmpeg-4-CVE-2023-6601-shim01-6b1f68cc.patch:
Backport 6b1f68cc from upstream, fail on probing non hls/m3u8 file
extensions. Its unexpected that a .avi or other "standard" file turns
into a playlist. The goal of this patch is to avoid this unexpected
behavior and possible privacy or security differences.
(CVE-2023-6601, bsc#1220545)
- Add ffmpeg-4-CVE-2023-6601-shim02-954d16fa.patch:
Backport 954d16fa from upstream, Try to implement RFC8216 playlist
refusal.
(CVE-2023-6601, bsc#1220545)
- Add ffmpeg-4-CVE-2023-6601-shim03-a0cb5722.patch:
Backport a0cb5722 from upstream, Check mime_ok first, This should
be a few nano seconds faster (not measureable), But Collectively
the whole humankind watching hls will safe a minute.
(CVE-2023-6601, bsc#1220545)
- Add ffmpeg-4-CVE-2023-6601-shim04-5b630743.patch:
Backport 5b630743 from upstream, Better message from hls_probe()
(CVE-2023-6601, bsc#1220545)
- Add ffmpeg-4-CVE-2023-6601.patch:
Backport d09f50c0f from upstream, remove non standard hls
extension.
(CVE-2023-6601, bsc#1220545)
-------------------------------------------------------------------
Wed Oct 15 02:12:04 UTC 2025 - SongChuan Kang <sckang@suse.com>

View File

@@ -145,12 +145,6 @@ Patch31: ffmpeg-4-CVE-2024-36618.patch
Patch32: ffmpeg-4-CVE-2025-7700.patch
Patch33: glslang16.patch
Patch34: ffmpeg-4-CVE-2025-59728.patch
Patch35: ffmpeg-4-CVE-2023-6601-shim01-6b1f68cc.patch
Patch36: ffmpeg-4-CVE-2023-6601-shim02-954d16fa.patch
Patch37: ffmpeg-4-CVE-2023-6601-shim03-a0cb5722.patch
Patch38: ffmpeg-4-CVE-2023-6601-shim04-5b630743.patch
Patch39: ffmpeg-4-CVE-2023-6601.patch
Patch40: ffmpeg-4-CVE-2025-63757.patch
BuildRequires: ladspa-devel
BuildRequires: libgsm-devel
BuildRequires: libmp3lame-devel