summaryrefslogtreecommitdiff
path: root/libavformat/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/format.c')
-rw-r--r--libavformat/format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/format.c b/libavformat/format.c
index 95060f373d..5545d07979 100644
--- a/libavformat/format.c
+++ b/libavformat/format.c
@@ -36,7 +36,7 @@ static AVOutputFormat *first_oformat = NULL;
static AVInputFormat **last_iformat = &first_iformat;
static AVOutputFormat **last_oformat = &first_oformat;
-AVInputFormat *av_iformat_next(AVInputFormat *f)
+AVInputFormat *av_iformat_next(const AVInputFormat *f)
{
if (f)
return f->next;
@@ -44,7 +44,7 @@ AVInputFormat *av_iformat_next(AVInputFormat *f)
return first_iformat;
}
-AVOutputFormat *av_oformat_next(AVOutputFormat *f)
+AVOutputFormat *av_oformat_next(const AVOutputFormat *f)
{
if (f)
return f->next;