X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcodec%2Fflac.c;h=664c5dacdf44603f50083366750bc5774992bafd;hb=a63d4a7744503f81b96b796f1e1558e9b558fcfe;hp=e2d33a949d93e5b900db6802eaa4f66dc490768c;hpb=bfabd662d161182fc071096963d4d727662b73b1;p=vlc diff --git a/modules/codec/flac.c b/modules/codec/flac.c index e2d33a949d..664c5dacdf 100644 --- a/modules/codec/flac.c +++ b/modules/codec/flac.c @@ -650,8 +650,8 @@ static void DecoderErrorCallback( const FLAC__StreamDecoder *decoder, switch( status ) { case FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC: - msg_Err( p_dec, "an error in the stream caused the decoder to " - "lose synchronization." ); + msg_Warn( p_dec, "an error in the stream caused the decoder to " + "loose synchronization." ); break; case FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER: msg_Err( p_dec, "the decoder encountered a corrupted frame header." ); @@ -705,28 +705,28 @@ static void decoder_state_error( decoder_t *p_dec, switch ( state ) { case FLAC__STREAM_DECODER_SEARCH_FOR_METADATA: - msg_Err( p_dec, "the decoder is ready to search for metadata." ); + msg_Dbg( p_dec, "the decoder is ready to search for metadata." ); break; case FLAC__STREAM_DECODER_READ_METADATA: - msg_Err( p_dec, "the decoder is ready to or is in the process of " + msg_Dbg( p_dec, "the decoder is ready to or is in the process of " "reading metadata." ); break; case FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC: - msg_Err( p_dec, "the decoder is ready to or is in the process of " + msg_Dbg( p_dec, "the decoder is ready to or is in the process of " "searching for the frame sync code." ); break; case FLAC__STREAM_DECODER_READ_FRAME: - msg_Err( p_dec, "the decoder is ready to or is in the process of " + msg_Dbg( p_dec, "the decoder is ready to or is in the process of " "reading a frame." ); break; case FLAC__STREAM_DECODER_END_OF_STREAM: - msg_Err( p_dec, "the decoder has reached the end of the stream." ); + msg_Dbg( p_dec, "the decoder has reached the end of the stream." ); break; case FLAC__STREAM_DECODER_ABORTED: - msg_Err( p_dec, "the decoder was aborted by the read callback." ); + msg_Warn( p_dec, "the decoder was aborted by the read callback." ); break; case FLAC__STREAM_DECODER_UNPARSEABLE_STREAM: - msg_Err( p_dec, "the decoder encountered reserved fields in use " + msg_Warn( p_dec, "the decoder encountered reserved fields in use " "in the stream." ); break; case FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR: @@ -745,7 +745,7 @@ static void decoder_state_error( decoder_t *p_dec, msg_Err( p_dec, "decoder in uninitialized state." ); break; default: - msg_Err(p_dec, "unknown error" ); + msg_Warn(p_dec, "unknown error" ); } } #endif