diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-09-05 09:28:46 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-09-05 09:28:46 +0000 |
commit | 1cef211dcaaf27a42f3dc60dcb7e4ebd008cd00b (patch) | |
tree | 4de5d0aa30c11406d9889a6a0230ecc281d4e51c | |
parent | 302c389e4f825395e2580d6303ad26eb6ac0dffa (diff) | |
download | ffmpeg-1cef211dcaaf27a42f3dc60dcb7e4ebd008cd00b.tar.gz |
AV_LOG_DEBUG vs. AV_LOG_ERROR
Originally committed as revision 4559 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/flac.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/flac.c b/libavcodec/flac.c index 17082e4328..9be1ac0de6 100644 --- a/libavcodec/flac.c +++ b/libavcodec/flac.c @@ -406,7 +406,7 @@ static inline int decode_subframe(FLACContext *s, int channel) if (get_bits1(&s->gb)) { - av_log(s->avctx, AV_LOG_DEBUG, "invalid subframe padding\n"); + av_log(s->avctx, AV_LOG_ERROR, "invalid subframe padding\n"); return -1; } type = get_bits(&s->gb, 6); @@ -462,7 +462,7 @@ static inline int decode_subframe(FLACContext *s, int channel) } else { - av_log(s->avctx, AV_LOG_DEBUG, "invalid coding type\n"); + av_log(s->avctx, AV_LOG_ERROR, "invalid coding type\n"); return -1; } @@ -492,7 +492,7 @@ static int decode_frame(FLACContext *s) decorrelation = LEFT_SIDE + assignment - 8; else { - av_log(s->avctx, AV_LOG_DEBUG, "unsupported channel assignment %d (channels=%d)\n", assignment, s->channels); + av_log(s->avctx, AV_LOG_ERROR, "unsupported channel assignment %d (channels=%d)\n", assignment, s->channels); return -1; } @@ -503,13 +503,13 @@ static int decode_frame(FLACContext *s) bps = sample_size_table[sample_size_code]; else { - av_log(s->avctx, AV_LOG_DEBUG, "invalid sample size code (%d)\n", sample_size_code); + av_log(s->avctx, AV_LOG_ERROR, "invalid sample size code (%d)\n", sample_size_code); return -1; } if (get_bits1(&s->gb)) { - av_log(s->avctx, AV_LOG_DEBUG, "broken stream, invalid padding\n"); + av_log(s->avctx, AV_LOG_ERROR, "broken stream, invalid padding\n"); return -1; } |