[vlc-commits] avcodec: fix the FFmpeg version on which AVCOL_TRC_SMPTE2084 appeared

Steve Lhomme git at videolan.org
Sun Mar 5 23:56:14 CET 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Fri Mar  3 17:18:20 2017 +0100| [d9b9944498ecf5071d8792853832f53a9266b1b9] | committer: Jean-Baptiste Kempf

avcodec: fix the FFmpeg version on which AVCOL_TRC_SMPTE2084 appeared

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9b9944498ecf5071d8792853832f53a9266b1b9
---

 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 a00e2b4..5d07976 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;



More information about the vlc-commits mailing list