From ec4f04da1a3462dac429b9d15dee5f027309da15 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 26 Jul 2014 02:47:41 -0700 Subject: avformat: Mark argument in av_{i|o}format_next/ffurl_protocol_next as const --- libavformat/avformat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/avformat.h') 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. -- cgit v1.2.3