[vlc-commits] mp4: fix pointer type

Rémi Denis-Courmont git at videolan.org
Tue Apr 1 21:24:28 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Apr  1 22:23:59 2014 +0300| [f151f923c249b116084ba6041fbb4a147bfb90d2] | committer: Rémi Denis-Courmont

mp4: fix pointer type

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

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

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 629d82c..90489da 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -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]);



More information about the vlc-commits mailing list