frame: allow align=0 (meaning automatic) for av_frame_get_buffer()

This will avoid every caller from hardcoding some specific alignment,
which may break in the future with new instruction sets.
This commit is contained in:
Anton Khirnov
2017-02-08 09:46:04 +01:00
parent f44ec22e09
commit 4de220d2e3
4 changed files with 12 additions and 2 deletions

View File

@@ -13,6 +13,10 @@ libavutil: 2015-08-28
API changes, most recent first:
2017-02-xx - xxxxxxx - lavu 55.31.1 - frame.h
Allow passing the value of 0 (meaning "automatic") as the required alignment
to av_frame_get_buffer().
2017-02-xx - xxxxxxx - lavu 55.31.0 - cpu.h
Add av_cpu_max_align() for querying maximum required data alignment.