mirror of
https://github.com/isledecomp/SIEdit.git
synced 2025-03-26 04:33:07 -04:00
app: null swrctx after free
This commit is contained in:
parent
8b09d5dba2
commit
fef643b1a7
1 changed files with 1 additions and 0 deletions
|
@ -683,6 +683,7 @@ bool MediaInstance::StartPlayingAudio(const QAudioDeviceInfo &output_dev, const
|
|||
{
|
||||
if (m_SwrCtx) {
|
||||
swr_free(&m_SwrCtx);
|
||||
m_SwrCtx = nullptr;
|
||||
}
|
||||
|
||||
AVSampleFormat smp_fmt = AV_SAMPLE_FMT_S16;
|
||||
|
|
Loading…
Add table
Reference in a new issue