Le septidi 7 germinal, an CCXXV, Clement Boesch a écrit :
> No, I can't do that, av_4cc2str() creates a temporary anonymous buffer
> with a reduced lifetime. It can only live within the function call.

I believe you are mistaken:

# it has automatic storage duration associated with the enclosing block.

(6.5.2.5 Compound literals, #6)

It would be inconsistent otherwise: the compound literal would exist in
the call to make_string() but disappear before the call to printf().

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to