summaryrefslogtreecommitdiff
path: root/libavformat/xwma.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/xwma.c
parent63d744e2be39466e3a734c2987cd713e0bac101e (diff)
avformat: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavformat/xwma.c')
-rw-r--r--libavformat/xwma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/xwma.c b/libavformat/xwma.c
index 13ce2bb9f9..52e423cef7 100644
--- a/libavformat/xwma.c
+++ b/libavformat/xwma.c
@@ -85,7 +85,7 @@ static int xwma_read_header(AVFormatContext *s)
* anyway.
*/
if (st->codec->codec_id != AV_CODEC_ID_WMAV2) {
- av_log_ask_for_sample(s, "unexpected codec (tag 0x04%x; id %d)\n",
+ avpriv_request_sample(s, "Unexpected codec (tag 0x04%x; id %d)",
st->codec->codec_tag, st->codec->codec_id);
} else {
/* In all xWMA files I have seen, there is no extradata. But the WMA
@@ -100,7 +100,7 @@ static int xwma_read_header(AVFormatContext *s)
* if it will work, but just go on and try it, after asking
* the user for a sample.
*/
- av_log_ask_for_sample(s, "unexpected extradata (%d bytes)\n",
+ avpriv_request_sample(s, "Unexpected extradata (%d bytes)",
st->codec->extradata_size);
} else {
st->codec->extradata_size = 6;