diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-03-15 17:13:52 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-03-15 18:10:28 +0000 |
commit | a9b424879f101b56cf75c2db889477bba188fe20 (patch) | |
tree | a9e67fe3fba92feaca7bdeb8122ebe2772f339ae /libavcodec/iff.c | |
parent | 3d751b1ef6619b20631b17c880aa96f2dd3a11dd (diff) | |
download | ffmpeg-a9b424879f101b56cf75c2db889477bba188fe20.tar.gz |
lavc & lavf: replace deprecated av_log* functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/iff.c')
-rw-r--r-- | libavcodec/iff.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |