summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-07-26 02:50:59 -0700
committerDiego Biurrun <diego@biurrun.de>2014-07-26 14:51:16 -0700
commit7215fcf84032118ecd9fb54fb14154d69fea638d (patch)
tree99c4c410f7695b56b94e216cb51980d8f0b0e5b1 /libavformat/avformat.h
parentec4f04da1a3462dac429b9d15dee5f027309da15 (diff)
avformat: Mark AVOutputFormat argument in avformat_query_codec as const
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 3520506038..db41836c3b 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1911,7 +1911,8 @@ int av_match_ext(const char *filename, const char *extensions);
* @return 1 if codec with ID codec_id can be stored in ofmt, 0 if it cannot.
* A negative number if this information is not available.
*/
-int avformat_query_codec(AVOutputFormat *ofmt, enum AVCodecID codec_id, int std_compliance);
+int avformat_query_codec(const AVOutputFormat *ofmt, enum AVCodecID codec_id,
+ int std_compliance);
/**
* @defgroup riff_fourcc RIFF FourCCs