1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-17 14:11:13 +01:00
This commit is contained in:
v.audacity
2013-08-21 23:41:13 +00:00
parent 414456fa06
commit 9107363b2b

View File

@@ -541,7 +541,7 @@ bool ExportFFmpeg::Finalize()
// If codec supports CODEC_CAP_SMALL_LAST_FRAME, we can feed it with smaller frame // If codec supports CODEC_CAP_SMALL_LAST_FRAME, we can feed it with smaller frame
// If codec is FLAC, feed it anyway (it doesn't have CODEC_CAP_SMALL_LAST_FRAME, but it works) // If codec is FLAC, feed it anyway (it doesn't have CODEC_CAP_SMALL_LAST_FRAME, but it works)
// If frame_size is 1, then it's some kind of PCM codec, they don't have frames // If frame_size is 1, then it's some kind of PCM codec, they don't have frames
// If user configured the exporter to feed the encoder with silence // If user configured the exporter to feed the encoder with silence // FIX-ME: Finish the sentence!
if ((codec->capabilities & CODEC_CAP_SMALL_LAST_FRAME) if ((codec->capabilities & CODEC_CAP_SMALL_LAST_FRAME)
|| codec->id == CODEC_ID_FLAC || codec->id == CODEC_ID_FLAC
|| mEncAudioCodecCtx->frame_size == 1 || mEncAudioCodecCtx->frame_size == 1