diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-08-11 19:53:41 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-08-11 19:53:41 +0300 |
commit | ae32dd9587a628ec4eb9a40a2d741dd7f832217e (patch) | |
tree | f0e780ae52b270ff899f37de73122dee7e6d2de0 /decoder/LAVVideo | |
parent | 8d99b92f1acae26b622a90f3d0f18f9e7676fd62 (diff) |
Silence a warning
Diffstat (limited to 'decoder/LAVVideo')
-rw-r--r-- | decoder/LAVVideo/decoders/avcodec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |