summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
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/avformat.h
parent53abe32409f13687c864b3cda077a1aa906a2459 (diff)
avformat: Mark argument in av_{i|o}format_next/ffurl_protocol_next as const
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 2bc1df9884..3520506038 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1286,14 +1286,14 @@ int avformat_network_deinit(void);
* if f is non-NULL, returns the next registered input format after f
* or NULL if f is the last one.
*/
-AVInputFormat *av_iformat_next(AVInputFormat *f);
+AVInputFormat *av_iformat_next(const AVInputFormat *f);
/**
* If f is NULL, returns the first registered output format,
* if f is non-NULL, returns the next registered output format after f
* or NULL if f is the last one.
*/
-AVOutputFormat *av_oformat_next(AVOutputFormat *f);
+AVOutputFormat *av_oformat_next(const AVOutputFormat *f);
/**
* Allocate an AVFormatContext.