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

Git pushed a commit to branch master
in repository ffmpeg.

commit 7a0ae45bcf9458c206e2a8dada3f3e731a513431
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Sat Feb 21 14:16:07 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Tue Mar 10 13:52:18 2026 +0100

    avformat/rmenc: Fix shadowing
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavformat/rmenc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavformat/rmenc.c b/libavformat/rmenc.c
index 0d001224cb..faa6cb9bdc 100644
--- a/libavformat/rmenc.c
+++ b/libavformat/rmenc.c
@@ -72,7 +72,6 @@ static int rv10_write_header(AVFormatContext *ctx,
 {
     RMMuxContext *rm = ctx->priv_data;
     AVIOContext *s = ctx->pb;
-    StreamInfo *stream;
     const char *desc, *mimetype;
     int nb_packets, packet_total_size, packet_max_size, size, packet_avg_size, 
i;
     int bit_rate, v, duration, flags;
@@ -142,9 +141,9 @@ static int rv10_write_header(AVFormatContext *ctx,
     }
 
     for(i=0;i<ctx->nb_streams;i++) {
+        StreamInfo *const stream = &rm->streams[i];
         int codec_data_size;
 
-        stream = &rm->streams[i];
 
         if (stream->par->codec_type == AVMEDIA_TYPE_AUDIO) {
             desc = "The Audio Stream";

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

Reply via email to