diff options
Diffstat (limited to 'decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp')
-rw-r--r-- | decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp b/decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp index dd9e8220..c522d576 100644 --- a/decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp +++ b/decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp @@ -166,7 +166,7 @@ STDMETHODIMP CLAVSubtitleProvider::InitDecoder(const CMediaType *pmt, AVCodecID getExtraData((const BYTE *)pmt->Format(), pmt->FormatType(), pmt->FormatLength(), extra, nullptr); m_pAVCtx->extradata = extra; - m_pAVCtx->extradata_size = extralen; + m_pAVCtx->extradata_size = (int)extralen; } if (pmt->formattype == FORMAT_SubtitleInfo) { |