summaryrefslogtreecommitdiffstats
path: root/libavfilter/buffersrc.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-07-26 10:20:47 +0200
committerMartin Storsjö <martin@martin.st>2013-07-26 19:51:04 +0300
commit779e6c2b985f2ad461a1ae704160822f97709ba7 (patch)
tree694eee571694938e8b1479072386ee51e818d692 /libavfilter/buffersrc.c
parent03039f4c8cdb4f8e5dc69905f3d73e2a531157e8 (diff)
downloadffmpeg-streaming-779e6c2b985f2ad461a1ae704160822f97709ba7.zip
ffmpeg-streaming-779e6c2b985f2ad461a1ae704160822f97709ba7.tar.gz
lavfi: add attribute_align_arg to all public entry points
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ö <martin@martin.st>
Diffstat (limited to 'libavfilter/buffersrc.c')
-rw-r--r--libavfilter/buffersrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index 5e982ea..f11f835 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;
OpenPOWER on IntegriCloud