From: Laurent Aimar Date: Mon, 20 Jan 2003 13:01:53 +0000 (+0000) Subject: * all: changed some msg_Err into msg_Warn. X-Git-Tag: 0.5.0~248 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9a5b0b8000ed8cd3e44f6162a28485edd51d2abc;p=vlc * all: changed some msg_Err into msg_Warn. --- diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c index 58362db312..51f0518d90 100644 --- a/modules/demux/avi/avi.c +++ b/modules/demux/avi/avi.c @@ -2,7 +2,7 @@ * avi.c : AVI file Stream input module for vlc ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: avi.c,v 1.26 2003/01/19 16:57:32 massiot Exp $ + * $Id: avi.c,v 1.27 2003/01/20 13:01:53 fenrir Exp $ * Authors: Laurent Aimar * * This program is free software; you can redistribute it and/or modify @@ -1046,7 +1046,7 @@ static int AVIInit( vlc_object_t * p_this ) #endif break; default: - msg_Err( p_input, "stream[%d] unknown type", i ); + msg_Warn( p_input, "stream[%d] unknown type", i ); p_info->i_cat = UNKNOWN_ES; i_init_size = 0; p_init_data = NULL; @@ -1297,7 +1297,7 @@ static int AVI_StreamChunkFind( input_thread_t *p_input, if( AVI_PacketGetHeader( p_input, &avi_pk ) ) { - msg_Err( p_input, "cannot get packet header" ); + msg_Warn( p_input, "cannot get packet header" ); return VLC_EGENERIC; } if( avi_pk.i_stream >= p_avi->i_streams || @@ -1534,7 +1534,7 @@ static int AVISeek ( input_thread_t *p_input, if( i_percent >= 100 ) { - msg_Err( p_input, "cannot seek so far !" ); + msg_Warn( p_input, "cannot seek so far !" ); return( -1 ); } i_percent = __MAX( i_percent, 0 ); @@ -1555,7 +1555,7 @@ static int AVISeek ( input_thread_t *p_input, } if( !p_stream || !p_stream->b_activated ) { - msg_Err( p_input, "cannot find any selected stream" ); + msg_Warn( p_input, "cannot find any selected stream" ); return( -1 ); } @@ -1564,7 +1564,7 @@ static int AVISeek ( input_thread_t *p_input, i_stream, 0 ) ) { - msg_Err( p_input, "cannot seek" ); + msg_Warn( p_input, "cannot seek" ); return( -1 ); } @@ -1575,7 +1575,7 @@ static int AVISeek ( input_thread_t *p_input, if( AVI_SetStreamChunk( p_input, i_stream, p_stream->i_idxposc + 1 ) ) { - msg_Err( p_input, "cannot seek" ); + msg_Warn( p_input, "cannot seek" ); return( -1 ); } } @@ -1723,7 +1723,7 @@ static int AVIDemux_Seekable( input_thread_t *p_input ) if( i_stream_count <= 0 ) { - msg_Err( p_input, "no track selected, exiting..." ); + msg_Warn( p_input, "no track selected, exiting..." ); return( 0 ); } @@ -1877,7 +1877,7 @@ static int AVIDemux_Seekable( input_thread_t *p_input ) if( AVI_PacketGetHeader( p_input, &avi_pk ) ) { - msg_Err( p_input, + msg_Warn( p_input, "cannot get packet header, track disabled" ); return( AVI_StreamStopFinishedStreams( p_input, p_avi ) ? 0 : 1 ); } @@ -1970,7 +1970,7 @@ static int AVIDemux_Seekable( input_thread_t *p_input ) if( input_ReadInPES( p_input, &p_pes, __EVEN( i_size ) ) < 0 ) { - msg_Err( p_input, "failled reading data" ); + msg_Warn( p_input, "failled reading data" ); toread[i_stream].b_ok = VLC_FALSE; continue; } @@ -2090,7 +2090,7 @@ static int AVIDemux_UnSeekable( input_thread_t *p_input ) } if( !p_stream_master ) { - msg_Err( p_input, "no more stream selected" ); + msg_Warn( p_input, "no more stream selected" ); return( 0 ); } diff --git a/modules/demux/avi/libavi.c b/modules/demux/avi/libavi.c index 3f2661e97c..03d254fede 100644 --- a/modules/demux/avi/libavi.c +++ b/modules/demux/avi/libavi.c @@ -2,7 +2,7 @@ * libavi.c : ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: libavi.c,v 1.13 2003/01/11 18:10:49 fenrir Exp $ + * $Id: libavi.c,v 1.14 2003/01/20 13:01:53 fenrir Exp $ * Authors: Laurent Aimar * * This program is free software; you can redistribute it and/or modify @@ -359,7 +359,7 @@ static int AVI_ChunkRead_list( input_thread_t *p_input, if( AVI_SkipBytes( p_input, 12 ) ) { - msg_Err( p_input, "cannot enter chunk" ); + msg_Warn( p_input, "cannot enter chunk" ); return VLC_EGENERIC; } #ifdef AVI_DEBUG