From 6d97484d72e33f7dde9493a9ead1a72e2f029605 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 13 Mar 2013 21:17:05 +0100 Subject: avcodec: av_log_ask_for_sample() ---> avpriv_request_sample() --- libavcodec/ptx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/ptx.c') diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c index f528843944..613c83179c 100644 --- a/libavcodec/ptx.c +++ b/libavcodec/ptx.c @@ -42,7 +42,7 @@ static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, bytes_per_pixel = AV_RL16(buf+12) >> 3; if (bytes_per_pixel != 2) { - av_log_ask_for_sample(avctx, "Image format is not RGB15.\n"); + avpriv_request_sample(avctx, "Image format not RGB15"); return AVERROR_PATCHWELCOME; } @@ -51,7 +51,7 @@ static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, if (buf_end - buf < offset) return AVERROR_INVALIDDATA; if (offset != 0x2c) - av_log_ask_for_sample(avctx, "offset != 0x2c\n"); + avpriv_request_sample(avctx, "offset != 0x2c"); buf += offset; -- cgit v1.2.3