]> git.sesse.net Git - vlc/commitdiff
Fixed wrong type used in mp4 parsing.
authorLaurent Aimar <fenrir@videolan.org>
Tue, 27 Feb 2007 21:45:41 +0000 (21:45 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 27 Feb 2007 21:45:41 +0000 (21:45 +0000)
modules/demux/mp4/libmp4.c

index 479ada43fafb5f7f032ade56a3d8c5cf3b267514..4d5def51eb8ca38d700b0718610ab4d4e233ddcf 100644 (file)
@@ -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 );
 }