This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new f16c3cc5aa avcodec/atrac9dec: improve output of atrac9_decode_frame
f16c3cc5aa is described below

commit f16c3cc5aa99192920e2dfe2f9604097b5375ce7
Author:     Macdu <[email protected]>
AuthorDate: Mon Apr 27 22:35:38 2026 +0200
Commit:     Lynne <[email protected]>
CommitDate: Mon May 25 03:18:53 2026 +0000

    avcodec/atrac9dec: improve output of atrac9_decode_frame
---
 libavcodec/atrac9dec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/atrac9dec.c b/libavcodec/atrac9dec.c
index 3c18ae8b42..2f2f86bc58 100644
--- a/libavcodec/atrac9dec.c
+++ b/libavcodec/atrac9dec.c
@@ -817,7 +817,7 @@ static int atrac9_decode_frame(AVCodecContext *avctx, 
AVFrame *frame,
 
     *got_frame_ptr = 1;
 
-    return avctx->block_align;
+    return frames < s->frame_count ? (get_bits_count(&gb) >> 3) : 
avctx->block_align;
 }
 
 static av_cold void atrac9_decode_flush(AVCodecContext *avctx)

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to