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/sanm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavcodec/sanm.c') diff --git a/libavcodec/sanm.c b/libavcodec/sanm.c index 66ff52257f..f217ef36bb 100644 --- a/libavcodec/sanm.c +++ b/libavcodec/sanm.c @@ -760,7 +760,7 @@ static int process_frame_obj(SANMVideoContext *ctx) return old_codec47(ctx, top, left, w, h); break; default: - av_log_ask_for_sample(ctx->avctx, "unknown subcodec %d\n", codec); + avpriv_request_sample(ctx->avctx, "unknown subcodec %d", codec); return AVERROR_PATCHWELCOME; } } @@ -784,7 +784,7 @@ static int decode_0(SANMVideoContext *ctx) static int decode_nop(SANMVideoContext *ctx) { - av_log_ask_for_sample(ctx->avctx, "unknown/unsupported compression type\n"); + avpriv_request_sample(ctx->avctx, "unknown/unsupported compression type"); return AVERROR_PATCHWELCOME; } @@ -1271,7 +1271,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, return ret; } } else { - av_log_ask_for_sample(avctx, "subcodec %d is not implemented\n", + avpriv_request_sample(avctx, "subcodec %d", header.codec); return AVERROR_PATCHWELCOME; } -- cgit v1.2.3