From: Andre Noll Date: Sat, 9 Jan 2010 00:31:38 +0000 (+0100) Subject: mp3dec: Improve error message. X-Git-Tag: v0.4.2~178 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=46b6a9736a6e28ef599f63a607c39dbced916410;p=paraslash.git mp3dec: Improve error message. --- diff --git a/mp3dec_filter.c b/mp3dec_filter.c index 2472b2cf..73ce0e50 100644 --- a/mp3dec_filter.c +++ b/mp3dec_filter.c @@ -228,7 +228,7 @@ next_frame: pmd->channels = MAD_NCHANNELS(&pmd->frame.header); ret = mad_frame_decode(&pmd->frame, &pmd->stream); if (ret != 0) { - PARA_CRIT_LOG("frame decode: %d\n", ret); + PARA_INFO_LOG("frame decode: %s\n", mad_stream_errorstr(&pmd->stream)); used = used_mad_buffer_bytes(&pmd->stream, len); ret = handle_decode_error(pmd, used); btr_consume(btrn, used);