[Ffmpeg-devel] [RFC] Reimplemented functions

Alex Beregszaszi alex
Sat Apr 21 01:55:07 CEST 2007


Hi,

there are more places in ffmpeg which contain reimplemented functions,
which may be missing on some systems.

libavformat/cutils.c:

* strstart
* stristart
* pstrcpy
* pstrcat
* __dynarray_add
* mktimegm
* brktimegm
* small_strptime

libaformat/os_support.c:

* av_gettime
* localtime_r
* inet_aton
* poll

libavformat/utils.c

libavcodec/utils.c

and libavutil/*

Lots of public functions are just placed in arbitrary places as seen
above.

For example av_fast_realloc is in libavcodec/utils.c, while other memory
related functions are in libavutil/mem.c

Some OS related macros are in libavutil/internal.h, while others in
libavformat/os_support.h

Also what about moving libavcodec/eval.c to libavutil?

--
Alex Beregszaszi






More information about the ffmpeg-devel mailing list