Allow all struct fields to be accessed directly, as long as they're public. Before this change, many fields were "public", but could be accessed via AVOption only. This meant they were effectively not public, but were present for documentation purposes, which was incredibly confusing at best.
Showing the changes to doc/APIchanges (1 of 7 files). Show all
Unified · Split
| @@ -15,6 +15,11 @@ libavutil: 2015-08-28 · 14 unmodified lines | |||
| 15 | 15 | ||
| 16 | API changes, most recent first: | 16 | API changes, most recent first: |
| 17 | 17 | ||
| 18 | 2017-03-02 - xxxxxxx - lavu 55.47.101, lavc 57.81.102, lavf 57.66.103 | ||
| 19 | Remove requirement to use AVOption or accessors to access certain fields | ||
| 20 | in AVFrame, AVCodecContext, and AVFormatContext that were previously | ||
| 21 | documented as "no direct access" allowed. | ||
| 22 | |||
| 18 | 2017-02-13 - xxxxxxx - lavc 57.80.100 - avcodec.h | 23 | 2017-02-13 - xxxxxxx - lavc 57.80.100 - avcodec.h |
| 19 | Add AVCodecContext.hw_device_ctx. | 24 | Add AVCodecContext.hw_device_ctx. |
| 20 | 25 | ||