diff mbox series

[FFmpeg-devel,5/5] avformat/riffenc: Fix outdated comment

Message ID GV1P250MB0737BFD9F3235AA17BE9431D8FEB2@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit edc235e0761a75620cc3705a9f7d25985fbedce4
Headers show
Series [FFmpeg-devel,1/5] avfilter/af_atempo: Properly check av_tx_init() | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished

Commit Message

Andreas Rheinhardt May 22, 2024, 8:59 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavformat/riffenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavformat/riffenc.c b/libavformat/riffenc.c
index 8accb69541..59c9932c36 100644
--- a/libavformat/riffenc.c
+++ b/libavformat/riffenc.c
@@ -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);