mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avformat/format: Use av_match_name() instead of list in av_match_ext()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6dc99fdf0e
commit
cebe8c8095
@ -87,7 +87,7 @@ int av_match_ext(const char *filename, const char *extensions)
|
||||
|
||||
ext = strrchr(filename, '.');
|
||||
if (ext)
|
||||
return av_match_list(ext + 1, extensions, ',');
|
||||
return av_match_name(ext + 1, extensions);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user