[vlc-commits] demux: libmp4: default iloc constuction method to 0

Francois Cartegnie git at videolan.org
Mon Nov 19 14:04:46 CET 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Nov 18 16:34:02 2018 +0100| [16c6b7133718b72c2c04205d95ac8dea496b9afc] | committer: Francois Cartegnie

demux: libmp4: default iloc constuction method to 0

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=16c6b7133718b72c2c04205d95ac8dea496b9afc
---

 modules/demux/mp4/libmp4.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 07ded01c59..9390e98246 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -4364,6 +4364,7 @@ static int MP4_ReadBox_iloc( stream_t *p_stream, MP4_Box_t *p_box )
             MP4_GET2BYTES( i_foo );
             p_data->p_items[i].i_construction_method = i_foo & 0x0F;
         }
+        else p_data->p_items[i].i_construction_method = 0;
 
         MP4_GET2BYTES( p_data->p_items[i].i_data_reference_index );
 



More information about the vlc-commits mailing list