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

Clément Bœsch u at pkh.me
Mon Dec 30 07:31:18 CET 2013


On Mon, Dec 30, 2013 at 01:09:17AM +0100, Nicolas George wrote:
> 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.
> 

Same goes for av_ts2str().

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131230/9a4158cc/attachment.asc>


More information about the ffmpeg-devel mailing list