OSDN Git Service

Make strmatch() return 1 only if the string compared against the
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 1 Nov 2010 09:34:21 +0000 (09:34 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 1 Nov 2010 09:34:21 +0000 (09:34 +0000)
commit4cabef0a9db40570e879d144052ad544f1a847df
tree765b28c1b797188bb1dd6085f54a9650b6759359
parent2b59fbe9b1e3721ba0785fbed9fc62a8049a6830
Make strmatch() return 1 only if the string compared against the
prefix does not contain other characters which may belong to an
identifier.

This allows to distinguish for example to have different constants
with the same prefix (e.g. "foo" and "foobar").

Originally committed as revision 25626 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/avutil.h
libavutil/eval.c