[vlc-commits] [Git][videolan/vlc][master] fourcc: missing const
Rémi Denis-Courmont (@Courmisch)
gitlab at videolan.org
Sun Mar 20 17:42:01 UTC 2022
Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC
Commits:
ca20897c by Rémi Denis-Courmont at 2022-03-20T17:13:57+00:00
fourcc: missing const
- - - - -
1 changed file:
- src/misc/fourcc.c
Changes:
=====================================
src/misc/fourcc.c
=====================================
@@ -478,7 +478,7 @@ static const vlc_fourcc_t p_VYUY_fallback[] = {
VLC_CODEC_FALLBACK_PACKED, 0
};
-static const vlc_fourcc_t *pp_YUV_fallback[] = {
+static const vlc_fourcc_t *const pp_YUV_fallback[] = {
p_YV12_fallback,
p_I420_fallback,
p_I420_9L_fallback,
@@ -608,7 +608,7 @@ static const vlc_fourcc_t p_RGB8_fallback[] = {
VLC_CODEC_RGB32,
0,
};
-static const vlc_fourcc_t *pp_RGB_fallback[] = {
+static const vlc_fourcc_t *const pp_RGB_fallback[] = {
p_RGB32_fallback,
p_RGB24_fallback,
p_RGB16_fallback,
@@ -623,7 +623,7 @@ static const vlc_fourcc_t *pp_RGB_fallback[] = {
/* */
static const vlc_fourcc_t *GetFallback( vlc_fourcc_t i_fourcc,
- const vlc_fourcc_t *pp_fallback[],
+ const vlc_fourcc_t *const *pp_fallback,
const vlc_fourcc_t p_list[] )
{
for( unsigned i = 0; pp_fallback[i]; i++ )
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ca20897cf6584189625c73e54f1886e40b3eefad
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ca20897cf6584189625c73e54f1886e40b3eefad
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