[vlc-commits] [Git][videolan/vlc][3.0.x] 2 commits: decoder: update i_bitspersample

David (@dfuhrmann) gitlab at videolan.org
Wed Aug 24 17:54:30 UTC 2022



David pushed to branch 3.0.x at VideoLAN / VLC


Commits:
d7d0bbf8 by Romain Vimont at 2022-08-24T19:51:40+02:00
decoder: update i_bitspersample

The field i_bytes_per_frame was updated, but not i_bitspersample,
causing an inconsistency leading to a buffer overflow.

Fixes #26930

- - - - -
675232e5 by David Fuhrmann at 2022-08-24T19:52:36+02:00
Update NEWS

- - - - -


2 changed files:

- NEWS
- src/input/decoder.c


Changes:

=====================================
NEWS
=====================================
@@ -33,7 +33,7 @@ Misc:
 Contribs:
  * update FFmpeg, bluray, upnp, pthread, x265, freetype, libsmb2, aom, dav1d,
    libass, libxml2 (contains CVE), dvdread, harfbuzz, zlib, gme, nettle, GnuTLS,
-   mpg123, speex, bluray
+   mpg123, speex, bluray, libvpx
 
 
 Changes between 3.0.17.3 and 3.0.17.4:


=====================================
src/input/decoder.c
=====================================
@@ -405,6 +405,8 @@ static int aout_update_format( decoder_t *p_dec )
 
         p_dec->fmt_out.audio.i_bytes_per_frame =
             p_owner->fmt.audio.i_bytes_per_frame;
+        p_dec->fmt_out.audio.i_bitspersample =
+            p_owner->fmt.audio.i_bitspersample;
         p_dec->fmt_out.audio.i_frame_length =
             p_owner->fmt.audio.i_frame_length;
     }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/04b535561db7a11e3ca2684d31f09758957e2eb4...675232e5932e5f205f03a485f1b56c7ae4f1ca6d

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/04b535561db7a11e3ca2684d31f09758957e2eb4...675232e5932e5f205f03a485f1b56c7ae4f1ca6d
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list