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 c1c7321a62 avcodec/audiotoolboxenc: drop shadowed ret in ffat_encode
c1c7321a62 is described below

commit c1c7321a62de4e5250841fafe351793b3ffb5ce5
Author:     Zhao Zhili <[email protected]>
AuthorDate: Mon Jul 13 14:59:46 2026 +0800
Commit:     Marvin Scholz <[email protected]>
CommitDate: Thu Oct 29 21:34:11 2026 +0000

    avcodec/audiotoolboxenc: drop shadowed ret in ffat_encode
---
 libavcodec/audiotoolboxenc.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavcodec/audiotoolboxenc.c b/libavcodec/audiotoolboxenc.c
index 1aa2ca317b..f588751f62 100644
--- a/libavcodec/audiotoolboxenc.c
+++ b/libavcodec/audiotoolboxenc.c
@@ -571,10 +571,10 @@ static int ffat_encode(AVCodecContext *avctx, AVPacket 
*avpkt,
 
     if ((!ret || ret == 1) && *got_packet_ptr) {
         avpkt->size = out_buffers.mBuffers[0].mDataByteSize;
-        int ret = ff_af_queue_remove(&at->afq, 
out_pkt_desc.mVariableFramesInPacket ?
-                                     out_pkt_desc.mVariableFramesInPacket :
-                                     avctx->frame_size,
-                                     avpkt);
+        ret = ff_af_queue_remove(&at->afq, 
out_pkt_desc.mVariableFramesInPacket ?
+                                 out_pkt_desc.mVariableFramesInPacket :
+                                 avctx->frame_size,
+                                 avpkt);
         if (ret < 0)
             return ret;
         avpkt->flags |= AV_PKT_FLAG_KEY;

-- 
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]

Reply via email to