summaryrefslogtreecommitdiff
path: root/libavcodec/anm.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-03-13 21:17:05 +0100
committerDiego Biurrun <diego@biurrun.de>2013-03-13 21:20:12 +0100
commit6d97484d72e33f7dde9493a9ead1a72e2f029605 (patch)
tree55dd3090fc63aaf22da92145fe8310cfe0cf9c78 /libavcodec/anm.c
parent1ae07959ab39a96eee6496b418f377f9085ce4a5 (diff)
avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavcodec/anm.c')
-rw-r--r--libavcodec/anm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/anm.c b/libavcodec/anm.c
index 9f1cc397f9..1c4c7e2497 100644
--- a/libavcodec/anm.c
+++ b/libavcodec/anm.c
@@ -127,11 +127,11 @@ static int decode_frame(AVCodecContext *avctx,
bytestream2_init(&s->gb, avpkt->data, buf_size);
if (bytestream2_get_byte(&s->gb) != 0x42) {
- av_log_ask_for_sample(avctx, "unknown record type\n");
+ avpriv_request_sample(avctx, "Unknown record type");
return buf_size;
}
if (bytestream2_get_byte(&s->gb)) {
- av_log_ask_for_sample(avctx, "padding bytes not supported\n");
+ avpriv_request_sample(avctx, "Padding bytes");
return buf_size;
}
bytestream2_skip(&s->gb, 2);
@@ -161,7 +161,7 @@ static int decode_frame(AVCodecContext *avctx,
if (type == 0)
break; // stop
if (type == 2) {
- av_log_ask_for_sample(avctx, "unknown opcode");
+ avpriv_request_sample(avctx, "Unknown opcode");
return AVERROR_PATCHWELCOME;
}
continue;