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/sanm.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/sanm.c')
-rw-r--r-- | libavcodec/sanm.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |