Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer 10 years ago
parent
commit
cebe8c8095
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/format.c

+ 1
- 1
libavformat/format.c View File

@@ -87,7 +87,7 @@ int av_match_ext(const char *filename, const char *extensions)


ext = strrchr(filename, '.'); ext = strrchr(filename, '.');
if (ext) if (ext)
return av_match_list(ext + 1, extensions, ',');
return av_match_name(ext + 1, extensions);
return 0; return 0;
} }




Loading…
Cancel
Save