aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-08-02 10:27:52 -0400
committerAlexis Ballier <aballier@gentoo.org>2013-08-06 10:18:38 -0400
commit2663e1494d29355ddcfa5f0c5ce1257ca99274c1 (patch)
tree952491e8057c1792c628293b23c4fa62bf1ad72c /lib
parent4abf69d91614b1607406c736c568abcc7522095c (diff)
DVDFactoryCodec: Remove pointless libav #ifery and improve the libav_hacks.h
hackery so that it actually compiles with libav.
Diffstat (limited to 'lib')
-rw-r--r--lib/xbmc-libav-hacks/libav_hacks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xbmc-libav-hacks/libav_hacks.h b/lib/xbmc-libav-hacks/libav_hacks.h
index bf3ab7bae1..4f7e289f82 100644
--- a/lib/xbmc-libav-hacks/libav_hacks.h
+++ b/lib/xbmc-libav-hacks/libav_hacks.h
@@ -41,7 +41,7 @@
#define AVFRAME_IN_LAVU
#define AV_CODEC_ID_OTF AV_CODEC_ID_TTF
-#define AV_CODEC_ID_SUBRIP AV_CODEC_ID_TEXT
+#define AV_CODEC_ID_SUBRIP AV_CODEC_ID_FIRST_SUBTITLE
AVDictionary *av_frame_get_metadata (const AVFrame *frame);