1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-13 08:06:32 +01:00

Fix warnings for OD ffmpeg

This commit is contained in:
mchinen
2012-06-01 06:11:21 +00:00
parent 3dd37349fc
commit 80a2b68bcf
2 changed files with 1 additions and 4 deletions

View File

@@ -563,7 +563,7 @@ int FFmpegImportFileHandle::Import(TrackFactory *trackFactory,
//append blockfiles to each stream and add an individual ODDecodeTask for each one.
for (int s = 0; s < mNumStreams; s++) {
ODDecodeFFmpegTask* odTask=new ODDecodeFFmpegTask(mScs,mNumStreams,mChannels,mFormatContext, s);
ODFileDecoder* odDecoder = odTask->CreateFileDecoder(mFilename);
odTask->CreateFileDecoder(mFilename);
//each stream has different duration. We need to know it if seeking is to be allowed.
sampleCount sampleDuration = 0;