[FFmpeg-devel] [PATCH] Proved va_copy fallback for old gcc versions.

Michael Niedermayer michaelni at gmx.at
Mon Dec 30 12:33:04 CET 2013


On Mon, Dec 30, 2013 at 12:15:02PM +0100, Reimar Döffinger wrote:
[...]
> @@ -24,3 +24,6 @@
>  #if !defined(va_copy) && defined(_MSC_VER)
>  #define va_copy(dst, src) ((dst) = (src))
>  #endif
> +#if !defined(va_copy) && defined(__GNUC__) && __GNUC__ < 3
> +#define va_copy(dst, src) __va_copy(dst, src)
> +#endif

LGTM if it works

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

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131230/0996827c/attachment.asc>


More information about the ffmpeg-devel mailing list