[Ffmpeg-devel] [PATCH] export base64

Michael Niedermayer michaelni
Sun Feb 25 15:13:38 CET 2007


Hi

On Sun, Feb 25, 2007 at 02:48:35PM +0100, Luca Barbato wrote:
> Michael Niedermayer wrote:
> > Hi
> > 
> > On Sun, Feb 25, 2007 at 11:07:56AM +0100, Luca Barbato wrote:
> >> I'm not sure if it should be exported or not, surely it would be more
> >> useful exported (at least to me...)
> > 
> > it should be exported but first the API should be made consistent
> > encode mallocs decode doesnt 
> > 
> 
> what about having them accept a pointer, if is NULL it will malloc, if
> it isn't length checks will be done on it?

simplicity and depndancy on *alloc() if someone wants to just compile
base64.c/h why should she also have to compile and link av_malloc*()

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070225/74827d80/attachment.pgp>



More information about the ffmpeg-devel mailing list