From ae32dd9587a628ec4eb9a40a2d741dd7f832217e Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Fri, 11 Aug 2017 18:53:41 +0200 Subject: Silence a warning --- decoder/LAVVideo/decoders/avcodec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decoder/LAVVideo/decoders/avcodec.cpp b/decoder/LAVVideo/decoders/avcodec.cpp index 9655507c..71df599b 100644 --- a/decoder/LAVVideo/decoders/avcodec.cpp +++ b/decoder/LAVVideo/decoders/avcodec.cpp @@ -639,7 +639,7 @@ STDMETHODIMP CDecAvcodec::DestroyDecoder() if (m_pAVCtx->codec_id == AV_CODEC_ID_H264) { int64_t x264build = -1; if (av_opt_get_int(m_pAVCtx->priv_data, "x264_build", 0, &x264build) >= 0) - m_nx264build = x264build; + m_nx264build = (int)x264build; } avcodec_close(m_pAVCtx); -- cgit v1.2.3