[vlc-commits] demux: libmp4: add atom position in failed atom message
Francois Cartegnie
git at videolan.org
Mon Sep 5 09:31:14 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Sep 4 19:22:44 2016 +0200| [635ef0246728522888d1b560f85221f257a2d1f2] | committer: Francois Cartegnie
demux: libmp4: add atom position in failed atom message
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=635ef0246728522888d1b560f85221f257a2d1f2
---
modules/demux/mp4/libmp4.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 72a5605..091cc8c 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -210,8 +210,8 @@ static MP4_Box_t *MP4_ReadBoxRestricted( stream_t *p_stream, MP4_Box_t *p_father
if( peekbox.i_size < 8 )
{
- msg_Warn( p_stream, "found an invalid sized %"PRIu64" box %4.4s",
- peekbox.i_size, (char *) &peekbox.i_type );
+ msg_Warn( p_stream, "found an invalid sized %"PRIu64" box %4.4s @%ld",
+ peekbox.i_size, (char *) &peekbox.i_type, vlc_stream_Tell(p_stream) );
return NULL;
}
More information about the vlc-commits
mailing list