aboutsummaryrefslogtreecommitdiff
path: root/lib/xbmc-libav-hacks
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-08-02 10:27:10 -0400
committerAlexis Ballier <aballier@gentoo.org>2013-08-06 10:18:38 -0400
commit4abf69d91614b1607406c736c568abcc7522095c (patch)
tree8df23727555438260405b65679a88007a7aa85e9 /lib/xbmc-libav-hacks
parenta4a68d2a9acec6ac971a4115a65a6f65df09ff5f (diff)
DVDOverlayCodecText: Remove libav compat #ifery and move it to libav_hacks.h
Diffstat (limited to 'lib/xbmc-libav-hacks')
-rw-r--r--lib/xbmc-libav-hacks/libav_hacks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xbmc-libav-hacks/libav_hacks.h b/lib/xbmc-libav-hacks/libav_hacks.h
index a828850761..bf3ab7bae1 100644
--- a/lib/xbmc-libav-hacks/libav_hacks.h
+++ b/lib/xbmc-libav-hacks/libav_hacks.h
@@ -41,6 +41,7 @@
#define AVFRAME_IN_LAVU
#define AV_CODEC_ID_OTF AV_CODEC_ID_TTF
+#define AV_CODEC_ID_SUBRIP AV_CODEC_ID_TEXT
AVDictionary *av_frame_get_metadata (const AVFrame *frame);