avformat/riffenc: Fix outdated comment

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2024-05-22 10:50:07 +02:00 committed by Paul B Mahol
parent c0727b2d9d
commit 812f6ae96a

View File

@ -72,7 +72,7 @@ int ff_put_wav_header(AVFormatContext *s, AVIOContext *pb,
}
/* We use the known constant frame size for the codec if known, otherwise
* fall back on using AVCodecContext.frame_size, which is not as reliable
* fall back on using AVCodecParameters.frame_size, which is not as reliable
* for indicating packet duration. */
frame_size = av_get_audio_frame_duration2(par, par->block_align);