[vlc-commits] [Git][videolan/vlc][master] demux/mp4: fix unused warning

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Fri Jan 21 12:24:37 UTC 2022



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
6df8b912 by Romain Vimont at 2022-01-21T12:06:15+00:00
demux/mp4: fix unused warning

The 'reserved' variable is necessary to call MP4_GET3BYTES(), but is
never used afterwards.

Silent the warning.

- - - - -


1 changed file:

- modules/demux/mp4/libmp4.c


Changes:

=====================================
modules/demux/mp4/libmp4.c
=====================================
@@ -2984,6 +2984,8 @@ static int MP4_ReadBox_stz2( stream_t *p_stream, MP4_Box_t *p_box )
 
     uint32_t reserved;
     MP4_GET3BYTES( reserved );
+    (void) reserved;
+
     MP4_GET1BYTE(field_size);
 
     MP4_GET4BYTES( count );



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6df8b912da36e22039bd349262562a1ae8057670

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6df8b912da36e22039bd349262562a1ae8057670
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list