summaryrefslogtreecommitdiff
path: root/libavcodec/ansi.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/ansi.c
parent1ae07959ab39a96eee6496b418f377f9085ce4a5 (diff)
avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavcodec/ansi.c')
-rw-r--r--libavcodec/ansi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ansi.c b/libavcodec/ansi.c
index b99826b3a5..c851d88891 100644
--- a/libavcodec/ansi.c
+++ b/libavcodec/ansi.c
@@ -222,7 +222,7 @@ static int execute_code(AVCodecContext * avctx, int c)
height = 60<<4;
break;
default:
- av_log_ask_for_sample(avctx, "unsupported screen mode\n");
+ avpriv_request_sample(avctx, "Unsupported screen mode");
}
if (width != avctx->width || height != avctx->height) {
av_frame_unref(s->frame);
@@ -291,7 +291,7 @@ static int execute_code(AVCodecContext * avctx, int c)
} else if (m == 49) {
s->fg = ansi_to_cga[DEFAULT_BG_COLOR];
} else {
- av_log_ask_for_sample(avctx, "unsupported rendition parameter\n");
+ avpriv_request_sample(avctx, "Unsupported rendition parameter");
}
}
break;
@@ -308,7 +308,7 @@ static int execute_code(AVCodecContext * avctx, int c)
s->y = av_clip(s->sy, 0, avctx->height - s->font_height);
break;
default:
- av_log_ask_for_sample(avctx, "unsupported escape code\n");
+ avpriv_request_sample(avctx, "Unknown escape code");
break;
}
return 0;