From 779e6c2b985f2ad461a1ae704160822f97709ba7 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Fri, 26 Jul 2013 10:20:47 +0200 Subject: lavfi: add attribute_align_arg to all public entry points MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously it was partly only added to central functions called internally, however if GCC would inline these into the public fuction, the alignment attribute would not take effect. Instead, add it to all public entry points to avoid these problems. Signed-off-by: Martin Storsjö --- libavfilter/buffersrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/buffersrc.c') diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index 5e982eab54..f11f835c2c 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -73,7 +73,7 @@ typedef struct { return AVERROR(EINVAL);\ } -int av_buffersrc_write_frame(AVFilterContext *ctx, const AVFrame *frame) +int attribute_align_arg av_buffersrc_write_frame(AVFilterContext *ctx, const AVFrame *frame) { AVFrame *copy; int ret = 0; -- cgit v1.2.3