# HG changeset patch # User stefano # Date 1262390169 0 # Node ID 38093ab40afe774144711aabc5f2d18c2830a95d # Parent 611a8e6209be91ac0fe19c8c1ce82973eeed360c Use av_match_ext() in place of the deprecated match_ext() function. diff -r 611a8e6209be -r 38093ab40afe utils.c --- a/utils.c Fri Jan 01 23:50:10 2010 +0000 +++ b/utils.c Fri Jan 01 23:56:09 2010 +0000 @@ -222,7 +222,7 @@ if (fmt->mime_type && mime_type && !strcmp(fmt->mime_type, mime_type)) score += 10; if (filename && fmt->extensions && - match_ext(filename, fmt->extensions)) { + av_match_ext(filename, fmt->extensions)) { score += 5; } if (score > score_max) { @@ -325,7 +325,7 @@ if (fmt1->read_probe) { score = fmt1->read_probe(pd); } else if (fmt1->extensions) { - if (match_ext(pd->filename, fmt1->extensions)) { + if (av_match_ext(pd->filename, fmt1->extensions)) { score = 50; } }