mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-05 21:55:37 +01:00
avformat: Mark argument in av_{i|o}format_next/ffurl_protocol_next as const
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user