12 Jan
2011
12 Jan
'11
10:44 p.m.
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.