Merge pull request #1618 from Integral-Tech/fix-ffmpeg-8

Fix building against FFmpeg 8
This commit is contained in:
CuriousTommy 2025-10-12 11:38:32 -07:00 committed by GitHub
commit 1386615501
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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)