diff options
Diffstat (limited to 'libavformat/format.c')
-rw-r--r-- | libavformat/format.c | 4 |
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; |