]> git.sesse.net Git - vlc/commitdiff
mp4: fix pointer type
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 1 Apr 2014 19:23:59 +0000 (22:23 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 1 Apr 2014 19:24:21 +0000 (22:24 +0300)
modules/demux/mp4/libmp4.c

index 629d82cc00c8279d09eb906b623e9cc1f6a456ea..90489dad47867e58f1c2599033af24b719d1c998 100644 (file)
@@ -803,7 +803,7 @@ static int MP4_ReadBox_tkhd(  stream_t *p_stream, MP4_Box_t *p_box )
     double scale[2];    // scale factor; sx = scale[0] , sy = scale[1]
     double translate[2];// amount to translate; tx = translate[0] , ty = translate[1]
 
-    int *matrix = p_box->data.p_tkhd->i_matrix;
+    int32_t *matrix = p_box->data.p_tkhd->i_matrix;
 
     translate[0] = conv_fx(matrix[6]);
     translate[1] = conv_fx(matrix[7]);