avcodec: map MagicYUV codec id
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 24 Feb 2018 17:50:43 +0000 (18:50 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 24 Feb 2018 17:50:43 +0000 (18:50 +0100)
modules/codec/avcodec/fourcc.c

index 5fd039a..311ee69 100644 (file)
@@ -281,6 +281,10 @@ static const struct vlc_avcodec_fourcc video_codecs[] =
     /* ffmpeg only: AV_CODEC_ID_SNOW */
     /* ffmpeg only: AV_CODEC_ID_SMVJPEG */
 
+#if LIBAVCODEC_VERSION_CHECK( 58, 0, 0, 1, 100 )
+    { VLC_CODEC_MAGICYUV, AV_CODEC_ID_MAGICYUV },
+#endif
+
 #if LIBAVCODEC_VERSION_CHECK( 57, 999, 999, 24, 102 )
     { VLC_CODEC_CINEFORM, AV_CODEC_ID_CFHD },
 #endif