Commit cebe8c80 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/format: Use av_match_name() instead of list in av_match_ext()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6dc99fdf
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment