1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-09 16:41:14 +02:00

fix indentation

This commit is contained in:
mchinen 2012-06-01 06:11:26 +00:00
parent 80a2b68bcf
commit f837c1fefd

View File

@ -289,7 +289,7 @@ int ODFFmpegDecoder::Decode(samplePtr & data, sampleFormat & format, sampleCount
int stindex = -1; int stindex = -1;
uint64_t targetts; uint64_t targetts;
//printf("attempting seek to %llu\n", start); printf("attempting seek to %llu\n", start);
//we have to find the index for this stream. //we have to find the index for this stream.
for (unsigned int i = 0; i < mFormatContext->nb_streams; i++) { for (unsigned int i = 0; i < mFormatContext->nb_streams; i++) {
if (mFormatContext->streams[i] == sc->m_stream ) if (mFormatContext->streams[i] == sc->m_stream )
@ -341,7 +341,7 @@ int ODFFmpegDecoder::Decode(samplePtr & data, sampleFormat & format, sampleCount
} }
if(actualDecodeStart != mCurrentPos) if(actualDecodeStart != mCurrentPos)
//printf("ts not matching - now:%llu (%f), last:%llu, lastlen:%llu, start %llu, len %llu\n",actualDecodeStart, actualDecodeStartdouble, mCurrentPos, mCurrentLen, start, len); printf("ts not matching - now:%llu , last:%llu, lastlen:%llu, start %llu, len %llu\n",actualDecodeStart, mCurrentPos, mCurrentLen, start, len);
//if we've skipped over some samples, fill the gap with silence. This could happen often in the beginning of the file. //if we've skipped over some samples, fill the gap with silence. This could happen often in the beginning of the file.
if(actualDecodeStart>start && firstpass) { if(actualDecodeStart>start && firstpass) {
// find the number of samples for the leading silence // find the number of samples for the leading silence