[vlc-commits] avcodec: map quicktime chromas
Francois Cartegnie
git at videolan.org
Wed Jan 8 21:50:55 CET 2020
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jan 8 20:02:19 2020 +0100| [b6ec8afdea9ee140f2e3204dfd53b41921f966de] | committer: Francois Cartegnie
avcodec: map quicktime chromas
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b6ec8afdea9ee140f2e3204dfd53b41921f966de
---
modules/codec/avcodec/fourcc.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 6d57c23bba..bd849f4858 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -221,7 +221,7 @@ static const struct vlc_avcodec_fourcc video_codecs[] =
{ VLC_CODEC_BMVVIDEO, AV_CODEC_ID_BMV_VIDEO },
{ VLC_CODEC_VBLE, AV_CODEC_ID_VBLE },
{ VLC_CODEC_DXTORY, AV_CODEC_ID_DXTORY },
- /* AV_CODEC_ID_V410 */
+ { VLC_CODEC_V410, AV_CODEC_ID_V410 },
/* AV_CODEC_ID_XWD */
{ VLC_CODEC_CDXL, AV_CODEC_ID_CDXL },
/* AV_CODEC_ID_XBM */
@@ -274,9 +274,11 @@ static const struct vlc_avcodec_fourcc video_codecs[] =
/* ffmpeg only: AV_CODEC_ID_012V */
/* ffmpeg only: AV_CODEC_ID_AVUI */
/* ffmpeg only: AV_CODEC_ID_TARGA_Y216 */
- /* ffmpeg only: AV_CODEC_ID_V308 */
- /* ffmpeg only: AV_CODEC_ID_V408 */
- /* ffmpeg only: AV_CODEC_ID_YUV4 */
+#if LIBAVCODEC_VERSION_MICRO >= 100
+ { VLC_CODEC_V308, AV_CODEC_ID_V308 },
+ { VLC_CODEC_V408, AV_CODEC_ID_V408 },
+ { VLC_CODEC_YUV4, AV_CODEC_ID_YUV4 },
+#endif
/* ffmpeg only: AV_CODEC_ID_SANM */
/* ffmpeg only: AV_CODEC_ID_PAF_VIDEO */
/* ffmpeg only: AV_CODEC_ID_AVRN */
More information about the vlc-commits
mailing list