mirror of https://github.com/darlinghq/darling
Merge pull request #1618 from Integral-Tech/fix-ffmpeg-8
Fix building against FFmpeg 8
This commit is contained in:
commit
1386615501
|
|
@ -212,9 +212,9 @@ AudioConverter::~AudioConverter()
|
|||
{
|
||||
TRACE();
|
||||
if (m_decoder)
|
||||
avcodec_close(m_decoder);
|
||||
avcodec_free_context(&m_decoder);
|
||||
if (m_encoder)
|
||||
avcodec_close(m_encoder);
|
||||
avcodec_free_context(&m_encoder);
|
||||
if (m_audioFrame)
|
||||
av_free(m_audioFrame);
|
||||
if (m_resampler)
|
||||
|
|
|
|||
Loading…
Reference in New Issue