1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
From c16bb588fd5122b36aea8ab9fbf2ea552eb1a194 Mon Sep 17 00:00:00 2001
From: Juho Vähä-Herttua <juhovh@iki.fi>
Date: Fri, 08 Jun 2012 06:30:47 +0000
Subject: OTHER: Quick fix to make XMMS2 compile on ffmpeg 0.11
--- a/src/plugins/avcodec/avcodec_compat.h
+++ b/src/plugins/avcodec/avcodec_compat.h
@@ -65,3 +65,7 @@
# define AVMEDIA_TYPE_AUDIO CODEC_TYPE_AUDIO
#endif
+/* Calling avcodec_init is not necessary after 53.04 (ffmpeg 0.9) */
+#if LIBAVCODEC_VERSION_INT >= 0x350400
+# define avcodec_init()
+#endif
|