[vlc-commits] avi: improve log message

Rémi Denis-Courmont git at videolan.org
Wed Jul 22 16:09:09 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 22 17:04:17 2020 +0300| [29c6915110f11d2183b4e05a1f8ec3cca9b4ee79] | committer: Rémi Denis-Courmont

avi: improve log message

Peeking is an irrelevant implementation detail here.

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

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

diff --git a/modules/demux/avi/libavi.c b/modules/demux/avi/libavi.c
index 5a468facac..e40c266ce0 100644
--- a/modules/demux/avi/libavi.c
+++ b/modules/demux/avi/libavi.c
@@ -158,7 +158,7 @@ static int AVI_ChunkRead_list( stream_t *s, avi_chunk_t *p_container )
     }
     if( vlc_stream_Peek( s, &p_peek, 12 ) < 12 )
     {
-        msg_Warn( (vlc_object_t*)s, "cannot peek while reading list chunk" );
+        msg_Warn( (vlc_object_t*)s, "unexpected end of file while reading list chunk" );
         return VLC_EGENERIC;
     }
 



More information about the vlc-commits mailing list