summaryrefslogtreecommitdiff
path: root/libavformat/lvfdec.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/lvfdec.c
parent3d751b1ef6619b20631b17c880aa96f2dd3a11dd (diff)
lavc & lavf: replace deprecated av_log* functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/lvfdec.c')
-rw-r--r--libavformat/lvfdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/lvfdec.c b/libavformat/lvfdec.c
index 08a089135e..f8dda58571 100644
--- a/libavformat/lvfdec.c
+++ b/libavformat/lvfdec.c
@@ -41,7 +41,7 @@ static int lvf_read_header(AVFormatContext *s)
if (!nb_streams)
return AVERROR_INVALIDDATA;
if (nb_streams > 2) {
- av_log_ask_for_sample(s, "too many streams\n");
+ avpriv_request_sample(s, "%d streams", nb_streams);
return AVERROR_PATCHWELCOME;
}
@@ -87,7 +87,7 @@ static int lvf_read_header(AVFormatContext *s)
avio_seek(s->pb, 2048 + 8, SEEK_SET);
return 0;
default:
- av_log_ask_for_sample(s, "unknown id\n");
+ avpriv_request_sample(s, "id %d", id);
return AVERROR_PATCHWELCOME;
}