[FFmpeg-devel] [PATCH] Remove only use of compound literals in FFmpeg.

Nicolas George george at nsup.org
Mon Dec 30 01:09:17 CET 2013


Le decadi 10 nivôse, an CCXXII, Reimar Döffinger a écrit :
> However it still seems to be the only place where we use it?

I am afraid not: there is also the av_err2str() magic macro (in
lavu/error.h), which is, if I say so myself, really convenient to use
instead of the normal functions.

I suppose you could implement it using a static array, at the cost of 64
extra bytes per use.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131230/dde1d871/attachment.asc>


More information about the ffmpeg-devel mailing list