summaryrefslogtreecommitdiff
path: root/libavformat/format.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-07-26 02:47:41 -0700
committerDiego Biurrun <diego@biurrun.de>2014-07-26 14:51:16 -0700
commitec4f04da1a3462dac429b9d15dee5f027309da15 (patch)
treedbe27be8bfd170d4b7dccec6f55cfa8297775edb /libavformat/format.c
parent53abe32409f13687c864b3cda077a1aa906a2459 (diff)
downloadffmpeg-ec4f04da1a3462dac429b9d15dee5f027309da15.tar.gz
avformat: Mark argument in av_{i|o}format_next/ffurl_protocol_next as const
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 3a510cdac3..7e9ca33a52 100644
--- a/libavformat/format.c
+++ b/libavformat/format.c
@@ -32,7 +32,7 @@ static AVInputFormat *first_iformat = NULL;
/** head of registered output format linked list */
static AVOutputFormat *first_oformat = NULL;
-AVInputFormat *av_iformat_next(AVInputFormat *f)
+AVInputFormat *av_iformat_next(const AVInputFormat *f)
{
if (f)
return f->next;
@@ -40,7 +40,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;