Looks good.
On Fri, Jul 11, 2014 at 5:24 AM, Luca Barbato <[email protected]> wrote: > It is generic enough to be reused for other similar comma-separated > fields. > --- > libavformat/format.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/format.c b/libavformat/format.c > index ae7b3df..95c06ff 100644 > --- a/libavformat/format.c > +++ b/libavformat/format.c > @@ -100,7 +100,7 @@ int av_match_ext(const char *filename, const char > *extensions) > return 0; > } > > -static int match_format(const char *name, const char *names) > +static int match_name(const char *name, const char *names) > { > const char *p; > int len, namelen; > @@ -180,7 +180,7 @@ AVInputFormat *av_find_input_format(const char > *short_name) > { > AVInputFormat *fmt = NULL; > while ((fmt = av_iformat_next(fmt))) > - if (match_format(short_name, fmt->name)) > + if (match_name(short_name, fmt->name)) > return fmt; > return NULL; > } > -- > 1.9.0 > > _______________________________________________ > libav-devel mailing list > [email protected] > https://lists.libav.org/mailman/listinfo/libav-devel > _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
