ports/graphics/ffmpeg/patches/patch-libavcodec_version_h

15 lines
388 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
avcodec/libsvtav1: deprecate some options
Index: libavcodec/version.h
--- libavcodec/version.h.orig
+++ libavcodec/version.h
@@ -168,5 +168,8 @@
#ifndef FF_API_INIT_PACKET
#define FF_API_INIT_PACKET (LIBAVCODEC_VERSION_MAJOR < 60)
#endif
+#ifndef FF_API_SVTAV1_OPTS
+#define FF_API_SVTAV1_OPTS (LIBAVCODEC_VERSION_MAJOR < 60)
+#endif
#endif /* AVCODEC_VERSION_H */