The new layout is consistent with that of the av_image_() API, and simplifies understanding and copy operations, it also preserves alignment information which was lost with the previous layout. This breaks API/ABI, but since the function was never referenced in the code (and it isn't unlikely already used by someone) then this should not be a problem.
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -13,6 +13,10 @@ libavutil: 2011-04-18 · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | API changes, most recent first: |
| 15 | 15 | |
| 16 | +2011-06-06 - xxxxxx - lavu 51.5.0 - av_samples_* | |
| 17 | + Change the data layout created by av_samples_fill_arrays() and | |
| 18 | + av_samples_alloc(). | |
| 19 | + | |
| 16 | 20 | 2011-06-06 - xxxxxx - lavfi 2.13.0 - vsrc_buffer.h |
| 17 | 21 | Make av_vsrc_buffer_add_video_buffer_ref() accepts an additional |
| 18 | 22 | flags parameter in input. |