[Ffmpeg-devel] Re: Using libavutil in MPlayer

Baptiste Coudurier baptiste.coudurier
Sat Jul 8 14:25:32 CEST 2006

Reimar D?ffinger wrote:
> 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?

What about also moving av_malloc, av_free etc.. to avutil ?

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

More information about the ffmpeg-devel mailing list