summaryrefslogtreecommitdiff
path: root/graphics/ffmpeg/patches/patch-libavcodec_version_h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ffmpeg/patches/patch-libavcodec_version_h')
-rw-r--r--graphics/ffmpeg/patches/patch-libavcodec_version_h14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/ffmpeg/patches/patch-libavcodec_version_h b/graphics/ffmpeg/patches/patch-libavcodec_version_h
new file mode 100644
index 0000000..929731d
--- /dev/null
+++ b/graphics/ffmpeg/patches/patch-libavcodec_version_h
@@ -0,0 +1,14 @@
1avcodec/libsvtav1: deprecate some options
2
3Index: libavcodec/version.h
4--- libavcodec/version.h.orig
5+++ libavcodec/version.h
6@@ -168,5 +168,8 @@
7 #ifndef FF_API_INIT_PACKET
8 #define FF_API_INIT_PACKET (LIBAVCODEC_VERSION_MAJOR < 60)
9 #endif
10+#ifndef FF_API_SVTAV1_OPTS
11+#define FF_API_SVTAV1_OPTS (LIBAVCODEC_VERSION_MAJOR < 60)
12+#endif
13
14 #endif /* AVCODEC_VERSION_H */