[FFmpeg-devel] [PATCH] lavfi: add attribute_align_arg to all public entry points

Hendrik Leppkes h.leppkes at gmail.com
Fri Jul 26 10:33:13 CEST 2013


this patch adds attribute_align_arg on 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.

This issue has been observed with GCC 4.8.1 which would inline one of
the functions which resulted in the realignment to be gone and YADIF to crash.

Heads-up for the merges from libav:
libav also received this patch, however theirs is slightly different
because the buffersink API is different.

- Hendrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavfi-add-attribute_align_arg-to-all-public-entry-po.patch
Type: application/octet-stream
Size: 2822 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130726/d583b584/attachment.obj>

More information about the ffmpeg-devel mailing list