avformat: Mark argument in av_{i|o}format_next/ffurl_protocol_next as const

This commit is contained in:
Diego Biurrun
2014-07-26 02:47:41 -07:00
parent 53abe32409
commit ec4f04da1a
4 changed files with 6 additions and 6 deletions

View File

@@ -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;