aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/snowdec.c
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2012-06-05 12:15:18 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-06-05 12:15:18 +0200
commit48fdaa1cffc903a6aec77c992d4f55ba30b429a6 (patch)
treeae089661103d7afc3cac2fb3353e232671f5855b /libavcodec/snowdec.c
parenta489db6cde48ed03c370a2f71b1be1e3485bc5db (diff)
downloadffmpeg-48fdaa1cffc903a6aec77c992d4f55ba30b429a6.tar.gz
snowdec: add new line to some error messages
Diffstat (limited to 'libavcodec/snowdec.c')
-rw-r--r--libavcodec/snowdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/snowdec.c b/libavcodec/snowdec.c
index 0db7ba5e92..f622252c69 100644
--- a/libavcodec/snowdec.c
+++ b/libavcodec/snowdec.c
@@ -325,12 +325,12 @@ static int decode_header(SnowContext *s){
s->spatial_decomposition_type+= get_symbol(&s->c, s->header_state, 1);
if(s->spatial_decomposition_type > 1U){
- av_log(s->avctx, AV_LOG_ERROR, "spatial_decomposition_type %d not supported", s->spatial_decomposition_type);
+ av_log(s->avctx, AV_LOG_ERROR, "spatial_decomposition_type %d not supported\n", s->spatial_decomposition_type);
return -1;
}
if(FFMIN(s->avctx-> width>>s->chroma_h_shift,
s->avctx->height>>s->chroma_v_shift) >> (s->spatial_decomposition_count-1) <= 0){
- av_log(s->avctx, AV_LOG_ERROR, "spatial_decomposition_count %d too large for size", s->spatial_decomposition_count);
+ av_log(s->avctx, AV_LOG_ERROR, "spatial_decomposition_count %d too large for size\n", s->spatial_decomposition_count);
return -1;
}
@@ -344,7 +344,7 @@ static int decode_header(SnowContext *s){
s->qbias += get_symbol(&s->c, s->header_state, 1);
s->block_max_depth+= get_symbol(&s->c, s->header_state, 1);
if(s->block_max_depth > 1 || s->block_max_depth < 0){
- av_log(s->avctx, AV_LOG_ERROR, "block_max_depth= %d is too large", s->block_max_depth);
+ av_log(s->avctx, AV_LOG_ERROR, "block_max_depth= %d is too large\n", s->block_max_depth);
s->block_max_depth= 0;
return -1;
}