From 1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 25 Feb 2013 23:54:28 +0100 Subject: avformat: av_log_ask_for_sample() ---> avpriv_request_sample() --- libavformat/smjpegdec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavformat/smjpegdec.c') diff --git a/libavformat/smjpegdec.c b/libavformat/smjpegdec.c index 39bb1b45f5..623df71d0f 100644 --- a/libavformat/smjpegdec.c +++ b/libavformat/smjpegdec.c @@ -52,7 +52,7 @@ static int smjpeg_read_header(AVFormatContext *s) avio_skip(pb, 8); // magic version = avio_rb32(pb); if (version) - av_log_ask_for_sample(s, "unknown version %d\n", version); + avpriv_request_sample(s, "Unknown version %d", version); duration = avio_rb32(pb); // in msec @@ -77,7 +77,7 @@ static int smjpeg_read_header(AVFormatContext *s) break; case SMJPEG_SND: if (ast) { - av_log_ask_for_sample(s, "multiple audio streams not supported\n"); + avpriv_request_sample(s, "Multiple audio streams"); return AVERROR_PATCHWELCOME; } hlength = avio_rb32(pb); @@ -100,7 +100,7 @@ static int smjpeg_read_header(AVFormatContext *s) break; case SMJPEG_VID: if (vst) { - av_log_ask_for_sample(s, "multiple video streams not supported\n"); + avpriv_request_sample(s, "Multiple video streams"); return AVERROR_INVALIDDATA; } hlength = avio_rb32(pb); -- cgit v1.2.3