This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 3116ce4f3e4b6323dfc3d8a2437affceed80176e Author: Hunter Kvalevog <[email protected]> AuthorDate: Thu Sep 24 16:59:35 2026 -0500 Commit: Tobias Rapp <[email protected]> CommitDate: Tue Sep 29 08:55:41 2026 +0200 avformat/wavenc: move RF64 seekability check to wav_init Signed-off-by: Hunter Kvalevog <[email protected]> --- libavformat/wavenc.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavformat/wavenc.c b/libavformat/wavenc.c index 55d702fb2c..c9ced4a1bd 100644 --- a/libavformat/wavenc.c +++ b/libavformat/wavenc.c @@ -158,6 +158,9 @@ static av_cold int wav_init(AVFormatContext *s) wav->rf64 = RF64_NEVER; } + if (wav->rf64 == RF64_AUTO && !(s->pb->seekable & AVIO_SEEKABLE_NORMAL)) + wav->rf64 = RF64_NEVER; + return 0; } @@ -321,10 +324,6 @@ static int wav_write_header(AVFormatContext *s) AVIOContext *pb = s->pb; int64_t fmt; - if (wav->rf64 == RF64_AUTO && !(s->pb->seekable & AVIO_SEEKABLE_NORMAL)) { - wav->rf64 = RF64_NEVER; - } - if (wav->rf64 == RF64_ALWAYS) { ffio_wfourcc(pb, "RF64"); avio_wl32(pb, -1); /* RF64 chunk size: use size in ds64 */ -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
