1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

Replace last occurrence of the deprecated match_ext() with

av_match_ext().

Originally committed as revision 22351 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini
2010-03-08 23:46:04 +00:00
parent 677a1144b0
commit 4837bb52d2

View File

@@ -1299,7 +1299,7 @@ static int mpegts_probe(AVProbeData *p)
else return -1; else return -1;
#else #else
/* only use the extension for safer guess */ /* only use the extension for safer guess */
if (match_ext(p->filename, "ts")) if (av_match_ext(p->filename, "ts"))
return AVPROBE_SCORE_MAX; return AVPROBE_SCORE_MAX;
else else
return 0; return 0;