diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c index 9a45b1b..1eaae48 100644 --- a/libavcodec/4xm.c +++ b/libavcodec/4xm.c @@ -836,7 +836,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, cfrm->size + data_size + FF_INPUT_BUFFER_PADDING_SIZE); // explicit check needed as memcpy below might not catch a NULL if (!cfrm->data) { - av_log(f->avctx, AV_LOG_ERROR, "realloc falure"); + av_log(f->avctx, AV_LOG_ERROR, "realloc falure\n"); return -1; } diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 6d04796..9cd1737 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -490,7 +490,7 @@ static int alac_decode_frame(AVCodecContext *avctx, void *data, break; } if (element > TYPE_CPE && element != TYPE_LFE) { - av_log(avctx, AV_LOG_ERROR, "syntax element unsupported: %d", element); + av_log(avctx, AV_LOG_ERROR, "syntax element unsupported: %d\n", element); return AVERROR_PATCHWELCOME; } diff --git a/libavcodec/dirac.c b/libavcodec/dirac.c index bab3980..b26fff7 100644 --- a/libavcodec/dirac.c +++ b/libavcodec/dirac.c @@ -232,7 +232,7 @@ static int parse_source_parameters(AVCodecContext *avctx, GetBitContext *gb, } if (luma_depth > 8) - av_log(avctx, AV_LOG_WARNING, "Bitdepth greater than 8"); + av_log(avctx, AV_LOG_WARNING, "Bitdepth greater than 8\n"); avctx->pix_fmt = dirac_pix_fmt[!luma_offset][source->chroma_format]; @@ -319,7 +319,7 @@ int avpriv_dirac_parse_sequence_header(AVCodecContext *avctx, GetBitContext *gb, * currently only used to signal field coding */ picture_coding_mode = svq3_get_ue_golomb(gb); if (picture_coding_mode != 0) { - av_log(avctx, AV_LOG_ERROR, "Unsupported picture coding mode %d", + av_log(avctx, AV_LOG_ERROR, "Unsupported picture coding mode %d\n", picture_coding_mode); return AVERROR_INVALIDDATA; } diff --git a/libavcodec/libopenjpegenc.c b/libavcodec/libopenjpegenc.c index 31e643d..22add08 100644 --- a/libavcodec/libopenjpegenc.c +++ b/libavcodec/libopenjpegenc.c @@ -131,7 +131,7 @@ static opj_image_t *mj2_create_image(AVCodecContext *avctx, opj_cparameters_t *p cmptparm = av_mallocz(numcomps * sizeof(*cmptparm)); if (!cmptparm) { - av_log(avctx, AV_LOG_ERROR, "Not enough memory"); + av_log(avctx, AV_LOG_ERROR, "Not enough memory\n"); return NULL; } for (i = 0; i < numcomps; i++) { diff --git a/libavcodec/libspeexdec.c b/libavcodec/libspeexdec.c index 0442619..60859b7 100644 --- a/libavcodec/libspeexdec.c +++ b/libavcodec/libspeexdec.c @@ -59,7 +59,7 @@ static av_cold int libspeex_decode_init(AVCodecContext *avctx) mode = speex_lib_get_mode(s->header->mode); if (!mode) { - av_log(avctx, AV_LOG_ERROR, "Unknown Speex mode %d", s->header->mode); + av_log(avctx, AV_LOG_ERROR, "Unknown Speex mode %d\n", s->header->mode); return AVERROR_INVALIDDATA; } } else diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c index 423872c..5fae4d1 100644 --- a/libavcodec/mlpdec.c +++ b/libavcodec/mlpdec.c @@ -736,7 +736,7 @@ static int read_decoding_params(MLPDecodeContext *m, GetBitContext *gbp, if (get_bits1(gbp)) { s->blocksize = get_bits(gbp, 9); if (s->blocksize < 8 || s->blocksize > m->access_unit_size) { - av_log(m->avctx, AV_LOG_ERROR, "Invalid blocksize."); + av_log(m->avctx, AV_LOG_ERROR, "Invalid blocksize.\n"); s->blocksize = 0; return AVERROR_INVALIDDATA; } diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c index da3aa68..5c19735 100644 --- a/libavcodec/rv34.c +++ b/libavcodec/rv34.c @@ -1650,7 +1650,7 @@ int ff_rv34_decode_frame(AVCodecContext *avctx, /* first slice */ if (si.start == 0) { if (s->mb_num_left > 0) { - av_log(avctx, AV_LOG_ERROR, "New frame but still %d MB left.", + av_log(avctx, AV_LOG_ERROR, "New frame but still %d MB left.\n", s->mb_num_left); ff_er_frame_end(s); ff_MPV_frame_end(s);