Such fields can be seen as generally useful in cases where the API user is not implementing custom AVIO callbacks, but still would like to know if data is being read or written out, such as in case data is being read from input but no AVPacket has been received yet.
Showing the changes to doc/APIchanges (1 of 5 files). Show all
Unified · Split
| @@ -14,6 +14,9 @@ libavutil: 2021-04-27 · 13 unmodified lines | ||
| 14 | 14 | |
| 15 | 15 | API changes, most recent first: |
| 16 | 16 | |
| 17 | +2021-10-18 - xxxxxxxxxx - lavf 59.8.100 - avio.h | |
| 18 | + Introduce public bytes_{read,written} statistic fields to AVIOContext. | |
| 19 | + | |
| 17 | 20 | 2021-10-13 - xxxxxxxxxx - lavf 59.7.100 - avio.h |
| 18 | 21 | Deprecate AVIOContext.written. Originally added as a private entry in |
| 19 | 22 | commit 3f75e5116b900f1428aa13041fc7d6301bf1988a, its grouping with |