summarylogtreecommitdiffstats
path: root/libavcodec.patch
diff options
context:
space:
mode:
authorJoan Figueras2018-05-25 00:21:39 +0200
committerJoan Figueras2018-05-25 00:21:39 +0200
commit1e6fd3e3e8380c7f0f08323afed3498ed856b0ca (patch)
tree29e14e8454995ee99f7d4dc81aeafa90199fc770 /libavcodec.patch
parente02bb9fcf8599a0fccd2327b70b3f3e16c60e6e1 (diff)
downloadaur-1e6fd3e3e8380c7f0f08323afed3498ed856b0ca.tar.gz
Fix build with new ffmpeg
Diffstat (limited to 'libavcodec.patch')
-rw-r--r--libavcodec.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavcodec.patch b/libavcodec.patch
new file mode 100644
index 000000000000..06de5db01873
--- /dev/null
+++ b/libavcodec.patch
@@ -0,0 +1,12 @@
+--- a/src/guacenc/guacenc.c 2018-05-25 00:11:40.315468138 +0200
++++ b/src/guacenc/guacenc.c 2018-05-25 00:11:32.011384353 +0200
+@@ -76,7 +76,9 @@
+ "version " VERSION);
+
+ /* Prepare libavcodec */
++#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100)
+ avcodec_register_all();
++#endif
+
+ /* Track number of overall failures */
+ int total_files = argc - optind;