mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-17 08:01:12 +02:00
Fix crash bug on on-demand ffmpeg decoding (an experimental)
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user