summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-14 02:31:57 +0100
committerwm4 <wm4@nowhere>2012-11-14 11:45:52 +0100
commit9fc682d46ff908556dcbd1ac78ed983f480976a5 (patch)
treeb4085a2224200dea7a1009f6dbfbdd46fbd8da1d /audio
parent94fc9f75584dad8a9aaef7a441ddf946c56bb311 (diff)
downloadmpv-9fc682d46ff908556dcbd1ac78ed983f480976a5.tar.bz2
mpv-9fc682d46ff908556dcbd1ac78ed983f480976a5.tar.xz
Improve compatibility with Libav 0.8.4 and ffmpeg 0.11.2
Libav 0.8.4 is ridiculously old (in relative terms), so I don't know how many things are broken silently. Encoding is disabled, because the required API hasn't been added yet. (On the other hand, the old API can't be used in newer versions.) This should improve compatibility with ffmpeg 0.11.2 as well, which didn't define AV_CODEC_ID_SUBRIP yet.
Diffstat (limited to 'audio')
-rw-r--r--audio/out/ao_lavc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/out/ao_lavc.c b/audio/out/ao_lavc.c
index 08e1aa5555..c2fd2e6d63 100644
--- a/audio/out/ao_lavc.c
+++ b/audio/out/ao_lavc.c
@@ -26,6 +26,7 @@
#include <libavutil/common.h>
#include <libavutil/audioconvert.h>
+#include "compat/libav.h"
#include "config.h"
#include "core/options.h"
#include "core/mp_common.h"