Replace last occurrence of the deprecated match_ext() with
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 8 Mar 2010 23:46:04 +0000 (23:46 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 8 Mar 2010 23:46:04 +0000 (23:46 +0000)
av_match_ext().

Originally committed as revision 22351 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mpegts.c

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