X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Favformat.h;h=66638c8f22aba6ee455f2962583227ad69e870a0;hb=c2ef844aa74c56b72a135fb389e346845ed7be50;hp=a9abfbd4c2d4a4a9c158cbff2812bc66ea763206;hpb=aadf5222da51c7a0baf0da3a5d0e1af554203d6c;p=ffmpeg diff --git a/libavformat/avformat.h b/libavformat/avformat.h index a9abfbd4c2d..66638c8f22a 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1752,14 +1752,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. @@ -2584,7 +2584,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