summaryrefslogtreecommitdiff
path: root/libavformat/smjpegdec.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/smjpegdec.c
parent63d744e2be39466e3a734c2987cd713e0bac101e (diff)
avformat: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavformat/smjpegdec.c')
-rw-r--r--libavformat/smjpegdec.c6
1 files changed, 3 insertions, 3 deletions
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);