Use the new fields directly instead of the ones from AVPicture. This removes a layer of indirection which serves no pratical purpose whatsoever, and will help in removing AVPicture structure completely later. Every subtitle encoder/decoder seamlessly points to the new arrays, so it is possible to deprecate AVSubtitleRect.pict.
Showing the changes to doc/APIchanges (1 of 12 files). Show all
Unified · Split
| @@ -13,6 +13,10 @@ libavutil: 2015-08-28 · 12 unmodified lines | |||
| 13 | 13 | ||
| 14 | API changes, most recent first: | 14 | API changes, most recent first: |
| 15 | 15 | ||
| 16 | 2015-xx-xx - xxxxxxx - lavc 57.5.0 - avcodec.h | ||
| 17 | Add data and linesize array to AVSubtitleRect, to be used instead of | ||
| 18 | the ones from the embedded AVPicture. | ||
| 19 | |||
| 16 | 2015-xx-xx - xxxxxxx - lavc 57.0.0 - qsv.h | 20 | 2015-xx-xx - xxxxxxx - lavc 57.0.0 - qsv.h |
| 17 | Add an API for allocating opaque surfaces. | 21 | Add an API for allocating opaque surfaces. |
| 18 | 22 | ||