[MPlayer-dev-eng] [PATCH] Add mp_strings.c with mp_asprintf function.
Clément Bœsch
ubitux at gmail.com
Wed Jan 12 23:44:32 CET 2011
Hi,
I just made a small equivalent to the GNU asprintf function (since I
suppose it's not available on all system supported by mplayer) in order to
use it in a few places instead of fixed size buffers like BUFLENGTH in
some vo (jpeg, png, …) and maybe a few other PATH_MAX we were speaking a
while ago.
I made a new file mp_strings.c to store it, maybe we can move later a few
other string processing functions (I'm thinking of subtitles text
processing) in it. If the name isn't appropriate or there is already a
better place to put it, just let me know.
Regards,
--
Clément B.
More information about the MPlayer-dev-eng
mailing list