From a9b424879f101b56cf75c2db889477bba188fe20 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 15 Mar 2013 17:13:52 +0000 Subject: lavc & lavf: replace deprecated av_log* functions Signed-off-by: Paul B Mahol --- libavcodec/iff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/iff.c') diff --git a/libavcodec/iff.c b/libavcodec/iff.c index 822a981643..716a7314e2 100644 --- a/libavcodec/iff.c +++ b/libavcodec/iff.c @@ -345,7 +345,7 @@ static av_cold int decode_init(AVCodecContext *avctx) } else if (avctx->bits_per_coded_sample == 32) { avctx->pix_fmt = AV_PIX_FMT_BGR32; } else { - av_log_ask_for_sample(avctx, "unknown bits_per_coded_sample\n"); + avpriv_request_sample(avctx, "unknown bits_per_coded_sample"); return AVERROR_PATCHWELCOME; } } @@ -646,7 +646,7 @@ static void decode_deep_tvdc32(uint8_t *dst, const uint8_t *src, int src_size, i static int unsupported(AVCodecContext *avctx) { IffContext *s = avctx->priv_data; - av_log_ask_for_sample(avctx, "unsupported bitmap (compression %i, bpp %i, ham %i)\n", s->compression, s->bpp, s->ham); + avpriv_request_sample(avctx, "bitmap (compression %i, bpp %i, ham %i)", s->compression, s->bpp, s->ham); return AVERROR_INVALIDDATA; } -- cgit v1.2.3