Deprecate av_get_bits_per_sample_fmt(), which was a misnamed function. For the moment we don't have sample formats with a non-integer number of bytes, in that case we may need to create a new av_get_bits_per_sample() function. In the meanwhile we prefer to adopt this variant, since avoids divisions by 8 all over the place.
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -13,6 +13,10 @@ libavutil: 2011-04-18 · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | API changes, most recent first: |
| 15 | 15 | |
| 16 | +2011-06-07 - xxxxxxx - lavu 51.4.0 - av_get_bytes_per_sample() | |
| 17 | + Add av_get_bytes_per_sample() in libavutil/samplefmt.h. | |
| 18 | + Deprecate av_get_bits_per_sample_fmt(). | |
| 19 | + | |
| 16 | 20 | 2011-06-xx - xxxxxxx - lavu 51.3.0 - opt.h |
| 17 | 21 | Add av_opt_free convenience function. |
| 18 | 22 | |