Commit b7d7233d4e for ffmpeg

commit b7d7233d4efabf01e46038156bdafacb2f79eb1e
Author: Michael Niedermayer <michael@niedermayer.cc>
Date:   Thu Oct 15 02:02:13 2026 +0200

    ffplay: keep the startup volume in percent

    stream_open() replaced the -volume percentage with the SDL volume it
    computed from it, so a second stream would compute its volume from the
    first stream's.

    Assisted-by: Claude

diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index 11fcc808c2..5350f8e6dd 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -3625,9 +3625,7 @@ static VideoState *stream_open(const char *filename,
                 goto fail;
         }
     }
-    startup_volume = av_clip(startup_volume, 0, 100);
-    startup_volume = av_clip(SDL_MIX_MAXVOLUME * startup_volume / 100, 0, SDL_MIX_MAXVOLUME);
-    is->audio_volume = startup_volume;
+    is->audio_volume = SDL_MIX_MAXVOLUME * av_clip(startup_volume, 0, 100) / 100;
     is->muted = 0;
     is->av_sync_type = av_sync_type;
     is->read_tid     = SDL_CreateThread(read_thread, "read_thread", is);