[vlc-commits] [Git][videolan/vlc][master] 2 commits: mp4: fix bogus string size

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sat Jan 14 19:00:25 UTC 2023



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
c43626d5 by Steve Lhomme at 2023-01-14T18:45:45+00:00
mp4: fix bogus string size

"Providers Source Content" doesn't fit with the \0.

- - - - -
4355f209 by Steve Lhomme at 2023-01-14T18:45:45+00:00
record: fix bogus string size

"webm" doesn't fit with the \0.

- - - - -


2 changed files:

- modules/demux/mp4/meta.c
- modules/stream_out/record.c


Changes:

=====================================
modules/demux/mp4/meta.c
=====================================
@@ -63,7 +63,7 @@ static const struct
 static const struct
 {
     const uint32_t xa9_type;
-    const char metadata[25];
+    const char metadata[26];
 } xa9typetoextrameta[] = {
     { ATOM_0xa9wrt, N_("Writer") },
     { ATOM_0xa9com, N_("Composer") },


=====================================
modules/stream_out/record.c
=====================================
@@ -254,7 +254,7 @@ static int Send( sout_stream_t *p_stream, void *id, block_t *p_buffer )
 typedef struct
 {
     const char  psz_muxer[19];
-    const char  psz_extension[4];
+    const char  psz_extension[5];
     int         i_es_max;
     vlc_fourcc_t codec[128];
 } muxer_properties_t;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/0bb5d3c2b67be91904a9e38c2105cf29c84fba1c...4355f209c01b2187b471fe769a3aa716cfa2ad81

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/0bb5d3c2b67be91904a9e38c2105cf29c84fba1c...4355f209c01b2187b471fe769a3aa716cfa2ad81
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