[Ffmpeg-devel] Using libavutil in MPlayer

Reimar Döffinger Reimar.Doeffinger
Sat Jul 8 14:17:54 CEST 2006


Hello,
I'd like to use some of the functions in libavutil in MPlayer to avoid
duplicating code.
Now, one of these is GET_UTF8 (in libavutil/common.h). The problem is,
this is only defined when HAVE_AV_CONFIG_H is defined - but in that
case, malloc, printf etc. are defined to the please_use_.. functions.
Do you have a suggestion for a non-hacky/ugly solution to this?
And another thing, would moving the LE/BE_16/32 macros from
libavcodec/avcodec.h to libavutil a good/acceptable thing?

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list