[vlc-commits] [Git][videolan/vlc][master] avcodec: audio: reset the extract flag on allocation error

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Jul 28 13:22:03 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
0b7ccd1f by Steve Lhomme at 2026-07-28T12:34:25+00:00
avcodec: audio: reset the extract flag on allocation error

In case some blocks are fed anyway.

Reported-by: Thomas Guillem <thomas at gllm.fr>

- - - - -


1 changed file:

- modules/codec/avcodec/audio.c


Changes:

=====================================
modules/codec/avcodec/audio.c
=====================================
@@ -681,6 +681,7 @@ static void SetupOutputFormat( decoder_t *p_dec, bool b_trust )
             p_dec->fmt_out.audio.i_channels = channel_count;
 
             aout_FormatPrepare(&p_dec->fmt_out.audio);
+            p_sys->b_extract = false;
             return;
         }
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0b7ccd1fa180bacbddee7fa41c0710c16fc5a965

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0b7ccd1fa180bacbddee7fa41c0710c16fc5a965
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list