Commit 9a5b0b80 authored by Laurent Aimar's avatar Laurent Aimar

* all: changed some msg_Err into msg_Warn.

parent abdf248d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* avi.c : AVI file Stream input module for vlc * avi.c : AVI file Stream input module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * 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 <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
...@@ -1046,7 +1046,7 @@ static int AVIInit( vlc_object_t * p_this ) ...@@ -1046,7 +1046,7 @@ static int AVIInit( vlc_object_t * p_this )
#endif #endif
break; break;
default: 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; p_info->i_cat = UNKNOWN_ES;
i_init_size = 0; i_init_size = 0;
p_init_data = NULL; p_init_data = NULL;
...@@ -1297,7 +1297,7 @@ static int AVI_StreamChunkFind( input_thread_t *p_input, ...@@ -1297,7 +1297,7 @@ static int AVI_StreamChunkFind( input_thread_t *p_input,
if( AVI_PacketGetHeader( p_input, &avi_pk ) ) 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; return VLC_EGENERIC;
} }
if( avi_pk.i_stream >= p_avi->i_streams || if( avi_pk.i_stream >= p_avi->i_streams ||
...@@ -1534,7 +1534,7 @@ static int AVISeek ( input_thread_t *p_input, ...@@ -1534,7 +1534,7 @@ static int AVISeek ( input_thread_t *p_input,
if( i_percent >= 100 ) if( i_percent >= 100 )
{ {
msg_Err( p_input, "cannot seek so far !" ); msg_Warn( p_input, "cannot seek so far !" );
return( -1 ); return( -1 );
} }
i_percent = __MAX( i_percent, 0 ); i_percent = __MAX( i_percent, 0 );
...@@ -1555,7 +1555,7 @@ static int AVISeek ( input_thread_t *p_input, ...@@ -1555,7 +1555,7 @@ static int AVISeek ( input_thread_t *p_input,
} }
if( !p_stream || !p_stream->b_activated ) 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 ); return( -1 );
} }
...@@ -1564,7 +1564,7 @@ static int AVISeek ( input_thread_t *p_input, ...@@ -1564,7 +1564,7 @@ static int AVISeek ( input_thread_t *p_input,
i_stream, i_stream,
0 ) ) 0 ) )
{ {
msg_Err( p_input, "cannot seek" ); msg_Warn( p_input, "cannot seek" );
return( -1 ); return( -1 );
} }
...@@ -1575,7 +1575,7 @@ static int AVISeek ( input_thread_t *p_input, ...@@ -1575,7 +1575,7 @@ static int AVISeek ( input_thread_t *p_input,
if( AVI_SetStreamChunk( p_input, if( AVI_SetStreamChunk( p_input,
i_stream, p_stream->i_idxposc + 1 ) ) i_stream, p_stream->i_idxposc + 1 ) )
{ {
msg_Err( p_input, "cannot seek" ); msg_Warn( p_input, "cannot seek" );
return( -1 ); return( -1 );
} }
} }
...@@ -1723,7 +1723,7 @@ static int AVIDemux_Seekable( input_thread_t *p_input ) ...@@ -1723,7 +1723,7 @@ static int AVIDemux_Seekable( input_thread_t *p_input )
if( i_stream_count <= 0 ) if( i_stream_count <= 0 )
{ {
msg_Err( p_input, "no track selected, exiting..." ); msg_Warn( p_input, "no track selected, exiting..." );
return( 0 ); return( 0 );
} }
...@@ -1877,7 +1877,7 @@ static int AVIDemux_Seekable( input_thread_t *p_input ) ...@@ -1877,7 +1877,7 @@ static int AVIDemux_Seekable( input_thread_t *p_input )
if( AVI_PacketGetHeader( p_input, &avi_pk ) ) if( AVI_PacketGetHeader( p_input, &avi_pk ) )
{ {
msg_Err( p_input, msg_Warn( p_input,
"cannot get packet header, track disabled" ); "cannot get packet header, track disabled" );
return( AVI_StreamStopFinishedStreams( p_input, p_avi ) ? 0 : 1 ); return( AVI_StreamStopFinishedStreams( p_input, p_avi ) ? 0 : 1 );
} }
...@@ -1970,7 +1970,7 @@ static int AVIDemux_Seekable( input_thread_t *p_input ) ...@@ -1970,7 +1970,7 @@ static int AVIDemux_Seekable( input_thread_t *p_input )
if( input_ReadInPES( p_input, &p_pes, __EVEN( i_size ) ) < 0 ) 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; toread[i_stream].b_ok = VLC_FALSE;
continue; continue;
} }
...@@ -2090,7 +2090,7 @@ static int AVIDemux_UnSeekable( input_thread_t *p_input ) ...@@ -2090,7 +2090,7 @@ static int AVIDemux_UnSeekable( input_thread_t *p_input )
} }
if( !p_stream_master ) if( !p_stream_master )
{ {
msg_Err( p_input, "no more stream selected" ); msg_Warn( p_input, "no more stream selected" );
return( 0 ); return( 0 );
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* libavi.c : * libavi.c :
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * 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 <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
* This program is free software; you can redistribute it and/or modify * 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, ...@@ -359,7 +359,7 @@ static int AVI_ChunkRead_list( input_thread_t *p_input,
if( AVI_SkipBytes( p_input, 12 ) ) if( AVI_SkipBytes( p_input, 12 ) )
{ {
msg_Err( p_input, "cannot enter chunk" ); msg_Warn( p_input, "cannot enter chunk" );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
#ifdef AVI_DEBUG #ifdef AVI_DEBUG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment