diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-03-15 17:13:52 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-03-15 18:10:28 +0000 |
commit | a9b424879f101b56cf75c2db889477bba188fe20 (patch) | |
tree | a9e67fe3fba92feaca7bdeb8122ebe2772f339ae /libavformat/iff.c | |
parent | 3d751b1ef6619b20631b17c880aa96f2dd3a11dd (diff) | |
download | ffmpeg-a9b424879f101b56cf75c2db889477bba188fe20.tar.gz |
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.c | 4 |
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; } |