[vlc-devel] [PATCH] libmp4.c: add a warning
fyhuel at viotech.net
fyhuel at viotech.net
Fri Mar 16 12:06:40 CET 2012
From: Frédéric Yhuel <fyhuel at viotech.net>
---
modules/demux/mp4/libmp4.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 6964b0a..5696176 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -95,6 +95,8 @@ static inline size_t mp4_box_headersize( MP4_Box_t *p_box )
i_actually_read = stream_Read( p_stream, p_peek, i_read ); \
if( i_actually_read < 0 || (int64_t)i_actually_read < i_read )\
{ \
+ msg_Warn( p_stream, "MP4_READBOX_ENTER: I got %i bytes, "\
+ "but I requested %"PRId64"", i_actually_read, i_read );\
free( p_buff ); \
return( 0 ); \
} \
--
1.7.5.4
More information about the vlc-devel
mailing list