The format is a per-frame property, having it in AVFrame simplify the operation of extraction of that information, since avoids the need to access the codec/stream context.
Showing the changes to doc/APIchanges (1 of 5 files). Show all
Unified · Split
| @@ -13,6 +13,9 @@ libavutil: 2011-04-18 · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | API changes, most recent first: |
| 15 | 15 | |
| 16 | +2011-05-07 - xxxxxxx - lavc 53.5.0 - AVFrame | |
| 17 | + Add format field to AVFrame. | |
| 18 | + | |
| 16 | 19 | 2011-05-07 - xxxxxxx - lavc 53.4.0 - AVFrame |
| 17 | 20 | Add width and height fields to AVFrame. |
| 18 | 21 | |