This will avoid every caller from hardcoding some specific alignment, which may break in the future with new instruction sets.
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -13,6 +13,10 @@ libavutil: 2015-08-28 · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | API changes, most recent first: |
| 15 | 15 | |
| 16 | +2017-02-xx - xxxxxxx - lavu 55.31.1 - frame.h | |
| 17 | + Allow passing the value of 0 (meaning "automatic") as the required alignment | |
| 18 | + to av_frame_get_buffer(). | |
| 19 | + | |
| 16 | 20 | 2017-02-xx - xxxxxxx - lavu 55.31.0 - cpu.h |
| 17 | 21 | Add av_cpu_max_align() for querying maximum required data alignment. |
| 18 | 22 | |