From 072cd3c8fdf2cfa667dd05da05e6add861035599 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Tue, 27 Feb 2007 21:45:41 +0000 Subject: [PATCH] Fixed wrong type used in mp4 parsing. --- modules/demux/mp4/libmp4.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c index 479ada43fa..4d5def51eb 100644 --- a/modules/demux/mp4/libmp4.c +++ b/modules/demux/mp4/libmp4.c @@ -1679,7 +1679,7 @@ static int MP4_ReadBox_elst( stream_t *p_stream, MP4_Box_t *p_box ) { unsigned int i; - MP4_READBOX_ENTER( MP4_Box_data_padb_t ); + MP4_READBOX_ENTER( MP4_Box_data_elst_t ); MP4_GETVERSIONFLAGS( p_box->data.p_elst ); @@ -1719,9 +1719,7 @@ static int MP4_ReadBox_elst( stream_t *p_stream, MP4_Box_t *p_box ) } #ifdef MP4_VERBOSE - msg_Dbg( p_stream, "read box: \"elst\" entry-count "I64Fd, - i_read / 2 ); - + msg_Dbg( p_stream, "read box: \"elst\" entry-count "I64Fd, p_box->data.p_elst->i_entry_count ); #endif MP4_READBOX_EXIT( 1 ); } -- 2.20.1