[FFmpeg-cvslog] avformat/riffenc: Fix outdated comment

Andreas Rheinhardt git at videolan.org
Sat May 25 15:09:29 EEST 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed May 22 10:50:07 2024 +0200| [edc235e0761a75620cc3705a9f7d25985fbedce4] | committer: Andreas Rheinhardt

avformat/riffenc: Fix outdated comment

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=edc235e0761a75620cc3705a9f7d25985fbedce4
---

 libavformat/riffenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 



More information about the ffmpeg-cvslog mailing list