[vlc-devel] [PATCH 3/4] avcodec: fix the FFmpeg version on which AVCOL_TRC_SMPTE2084 appeared

Steve Lhomme robux4 at videolabs.io
Fri Mar 3 17:18:20 CET 2017


---
 modules/codec/avcodec/video.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index a00e2b4634..5d07976aa3 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -226,7 +226,7 @@ static int lavc_GetVideoFormat(decoder_t *dec, video_format_t *restrict fmt,
         case AVCOL_TRC_BT2020_12:
             fmt->transfer = TRANSFER_FUNC_BT2020;
             break;
-#if LIBAVUTIL_VERSION_CHECK( 55, 17, 0, 39, 100)
+#if LIBAVUTIL_VERSION_CHECK( 55, 17, 0, 37, 100)
         case AVCOL_TRC_SMPTE2084:
             fmt->transfer = TRANSFER_FUNC_SMPTE_ST2084;
             break;
-- 
2.11.1



More information about the vlc-devel mailing list