mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-05 14:49:25 +02:00
Fix crash bug on on-demand ffmpeg decoding (an experimental)
This commit is contained in:
parent
b27504e98a
commit
8392a57d34
@ -430,8 +430,8 @@ int ODFFmpegDecoder::Decode(SampleBuffer & data, sampleFormat & format, sampleCo
|
||||
{
|
||||
for (int i = 0; i < mChannels.size(); i++)
|
||||
{
|
||||
sc->m_pkt.create();
|
||||
sc = scs[i].get();
|
||||
sc->m_pkt.create();
|
||||
if (DecodeFrame(sc, true) == 0)
|
||||
{
|
||||
sc->m_pkt.reset();
|
||||
|
Loading…
x
Reference in New Issue
Block a user