It allows attaching other external, opaque data to the frame and passing it through the reordering process, for cases when the caller wants other data than just the plain packet pts. There is no way to cleanly achieve this without the field.
Showing the changes to doc/APIchanges (1 of 3 files). Show all
Unified · Split
| @@ -13,6 +13,9 @@ libavutil: 2013-12-xx · 12 unmodified lines | |||
| 13 | 13 | ||
| 14 | API changes, most recent first: | 14 | API changes, most recent first: |
| 15 | 15 | ||
| 16 | 2014-08-xx - xxxxxxx - lavc 55.57.3 - avcodec.h | ||
| 17 | reordered_opaque is not going to be removed in the future. | ||
| 18 | |||
| 16 | 2014-08-xx - xxxxxxx - lavu 53.22.0 - pixfmt.h | 19 | 2014-08-xx - xxxxxxx - lavu 53.22.0 - pixfmt.h |
| 17 | Add AV_PIX_FMT_YA16 pixel format for 16 bit packed gray with alpha. | 20 | Add AV_PIX_FMT_YA16 pixel format for 16 bit packed gray with alpha. |
| 18 | 21 | ||