[vlc-commits] Avcodec: map the VP9 ID with version checks
Jean-Baptiste Kempf
git at videolan.org
Sun Oct 20 17:16:48 CEST 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Oct 20 17:16:25 2013 +0200| [804dfa335337038867f84f305f8f3483a7fade47] | committer: Jean-Baptiste Kempf
Avcodec: map the VP9 ID with version checks
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=804dfa335337038867f84f305f8f3483a7fade47
---
modules/codec/avcodec/fourcc.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 892dc2f..47de3d3 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -184,7 +184,6 @@ static const struct
{ VLC_CODEC_INDEO5, AV_CODEC_ID_INDEO5, VIDEO_ES },
{ VLC_CODEC_VP8, AV_CODEC_ID_VP8, VIDEO_ES },
- { VLC_CODEC_VP9, AV_CODEC_ID_VP9, VIDEO_ES },
{ VLC_CODEC_LAGARITH, AV_CODEC_ID_LAGARITH, VIDEO_ES },
@@ -226,6 +225,10 @@ static const struct
{ VLC_CODEC_HEVC, AV_CODEC_ID_HEVC, VIDEO_ES },
#endif
+#if LIBAVCODEC_VERSION_CHECK( 54, 41, 0, 89, 100 )
+ { VLC_CODEC_VP9, AV_CODEC_ID_VP9, VIDEO_ES },
+#endif
+
/* Videogames Codecs */
{ VLC_CODEC_INTERPLAY, AV_CODEC_ID_INTERPLAY_VIDEO, VIDEO_ES },
More information about the vlc-commits
mailing list