summaryrefslogtreecommitdiff
path: root/libavformat/nistspheredec.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-03-15 17:13:52 +0000
committerPaul B Mahol <onemda@gmail.com>2013-03-15 18:10:28 +0000
commita9b424879f101b56cf75c2db889477bba188fe20 (patch)
treea9e67fe3fba92feaca7bdeb8122ebe2772f339ae /libavformat/nistspheredec.c
parent3d751b1ef6619b20631b17c880aa96f2dd3a11dd (diff)
downloadffmpeg-a9b424879f101b56cf75c2db889477bba188fe20.tar.gz
lavc & lavf: replace deprecated av_log* functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/nistspheredec.c')
-rw-r--r--libavformat/nistspheredec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/nistspheredec.c b/libavformat/nistspheredec.c
index 59c202003b..c09df9ccc1 100644
--- a/libavformat/nistspheredec.c
+++ b/libavformat/nistspheredec.c
@@ -70,7 +70,7 @@ static int nist_read_header(AVFormatContext *s)
!av_strcasecmp(coding, "mu-law")) {
st->codec->codec_id = AV_CODEC_ID_PCM_MULAW;
} else {
- av_log_ask_for_sample(s, "unsupported coding: %s\n", coding);
+ avpriv_request_sample(s, "coding %s", coding);
}
avpriv_set_pts_info(st, 64, 1, st->codec->sample_rate);
@@ -93,7 +93,7 @@ static int nist_read_header(AVFormatContext *s)
} else if (!av_strcasecmp(format, "10")) {
be = 1;
} else if (av_strcasecmp(format, "1")) {
- av_log_ask_for_sample(s, "unsupported sample byte format: %s\n", format);
+ avpriv_request_sample(s, "sample byte format %s", format);
return AVERROR_PATCHWELCOME;
}
} else if (!memcmp(buffer, "sample_coding", 13)) {