aboutsummaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2013-03-09 08:49:56 +0100
committerGravatar wm4 <wm4@nowhere>2013-03-13 23:51:30 +0100
commitd8bde114fd9685111274713c03985c72de3377b1 (patch)
treea5bbfbc0423a557e559752d5bd9f5bf957d7415d /compat
parentba5fc1d5e6c7d0762cd051edc80011faa9ab6a6a (diff)
Prefix CODEC_ID_ with AV_
The old names have been deprecated a while ago, but were needed for supporting older ffmpeg/libav versions. The deprecated identifiers have been removed from recent Libav and FFmpeg git. This change breaks compatibility with Libav 0.8.x and equivalent FFmpeg releases.
Diffstat (limited to 'compat')
-rw-r--r--compat/libav.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/libav.h b/compat/libav.h
index 62ce1bb529..ef588fe025 100644
--- a/compat/libav.h
+++ b/compat/libav.h
@@ -29,7 +29,7 @@
#endif
#if (LIBAVUTIL_VERSION_MICRO < 100) || (LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 53, 100))
-#define AV_CODEC_ID_SUBRIP CODEC_ID_TEXT
+#define AV_CODEC_ID_SUBRIP AV_CODEC_ID_TEXT
#endif
#if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(51, 36, 0)