diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-03-15 20:44:57 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-05-04 23:40:13 +0300 |
commit | 20c86571ccc71412781d4a4813e4693e0c42aec6 (patch) | |
tree | f578aeb59de1037cf08699a6c4f19173e8543f41 /libavfilter/buffersrc.c | |
parent | c0c2b96c136ec2cbfd808eefc26de399f447d62f (diff) |
lavfi: let gcc realign the stack on public graph driving functions
The functions which actually drive the filter graph by pushing
frames through it need to ensure an aligned stack for SIMD functions.
This fixes a crash in YADIF filter when using a mingw build in a MSVC
application.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavfilter/buffersrc.c')
-rw-r--r-- | libavfilter/buffersrc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index a927f26c19..5e982eab54 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -88,7 +88,8 @@ int av_buffersrc_write_frame(AVFilterContext *ctx, const AVFrame *frame) return ret; } -int av_buffersrc_add_frame(AVFilterContext *ctx, AVFrame *frame) +int attribute_align_arg av_buffersrc_add_frame(AVFilterContext *ctx, + AVFrame *frame) { BufferSourceContext *s = ctx->priv; AVFrame *copy; |