This avoids unpleasant surprises to av_frame_get_buffer callers that explicitly specified 64-byte alignment and didn't get AVFrame.data pointers that are 64-byte aligned. For example, see https://github.com/sekrit-twc/zimg/issues/212 Although the zscale issue has already been resolved by other means it would still be prudent to improve the behavior of av_frame_get_buffer to fix any unknown and future instances of similar issues.
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -2,6 +2,10 @@ The last version increases of all libraries were on 2024-03-07 · 1 unmodified line | |||
| 2 | 2 | ||
| 3 | API changes, most recent first: | 3 | API changes, most recent first: |
| 4 | 4 | ||
| 5 | 2024-11-16 - xxxxxxxxxx - lavu 59.47.101 - frame.h | ||
| 6 | av_frame_get_buffer() now also aligns the data pointers according to | ||
| 7 | the requested alignment. | ||
| 8 | |||
| 5 | 2024-11-13 - xxxxxxxxxx - lavu 59.47.100 - channel_layout.h | 9 | 2024-11-13 - xxxxxxxxxx - lavu 59.47.100 - channel_layout.h |
| 6 | Add AV_CHAN_BINAURAL_LEFT, AV_CHAN_BINAURAL_RIGHT | 10 | Add AV_CHAN_BINAURAL_LEFT, AV_CHAN_BINAURAL_RIGHT |
| 7 | Add AV_CH_BINAURAL_LEFT, AV_CH_BINAURAL_RIGHT | 11 | Add AV_CH_BINAURAL_LEFT, AV_CH_BINAURAL_RIGHT |