Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-03-15 21:13:52 +0400
committerPaul B Mahol <onemda@gmail.com>2013-03-15 22:10:28 +0400
commita9b424879f101b56cf75c2db889477bba188fe20 (patch)
treea9e67fe3fba92feaca7bdeb8122ebe2772f339ae /libavformat/iff.c
parent3d751b1ef6619b20631b17c880aa96f2dd3a11dd (diff)
lavc & lavf: replace deprecated av_log* functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/iff.c')
-rw-r--r--libavformat/iff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/iff.c b/libavformat/iff.c
index 100d981cab..5b0d3ff18d 100644
--- a/libavformat/iff.c
+++ b/libavformat/iff.c
@@ -298,7 +298,7 @@ static int iff_read_header(AVFormatContext *s)
else if (fmt_size == sizeof(deep_abgr) && !memcmp(fmt, deep_abgr, sizeof(deep_abgr)))
st->codec->pix_fmt = AV_PIX_FMT_ABGR;
else {
- av_log_ask_for_sample(s, "unsupported color format\n");
+ avpriv_request_sample(s, "color format %.16s", fmt);
return AVERROR_PATCHWELCOME;
}
break;
@@ -364,7 +364,7 @@ static int iff_read_header(AVFormatContext *s)
} else if (iff->maud_bits == 8 && iff->maud_compression == 3) {
st->codec->codec_id = AV_CODEC_ID_PCM_MULAW;
} else {
- av_log_ask_for_sample(s, "unsupported compression %d and bit depth %d\n", iff->maud_compression, iff->maud_bits);
+ avpriv_request_sample(s, "compression %d and bit depth %d", iff->maud_compression, iff->maud_bits);
return AVERROR_PATCHWELCOME;
}