summaryrefslogtreecommitdiff
path: root/libavformat/anm.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-25 23:54:28 +0100
committerDiego Biurrun <diego@biurrun.de>2013-03-13 20:42:21 +0100
commit1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e (patch)
treedde426a2250d3b95a4f2d8560272ca6687fbd55b /libavformat/anm.c
parent63d744e2be39466e3a734c2987cd713e0bac101e (diff)
avformat: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavformat/anm.c')
-rw-r--r--libavformat/anm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/anm.c b/libavformat/anm.c
index 064b15739f..f78149285b 100644
--- a/libavformat/anm.c
+++ b/libavformat/anm.c
@@ -85,7 +85,7 @@ static int read_header(AVFormatContext *s)
avio_skip(pb, 4); /* magic number */
if (avio_rl16(pb) != MAX_PAGES) {
- av_log_ask_for_sample(s, "max_pages != " AV_STRINGIFY(MAX_PAGES) "\n");
+ avpriv_request_sample(s, "max_pages != " AV_STRINGIFY(MAX_PAGES));
return AVERROR_PATCHWELCOME;
}
@@ -163,7 +163,7 @@ static int read_header(AVFormatContext *s)
return 0;
invalid:
- av_log_ask_for_sample(s, "Invalid header element encountered.\n");
+ avpriv_request_sample(s, "Invalid header element");
return AVERROR_PATCHWELCOME;
}