mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
samplefmt: add av_get_bytes_per_sample()
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.
This commit is contained in:
parent
2f37321abc
commit
a6703faa15
4 changed files with 29 additions and 4 deletions
|
|
@ -13,6 +13,10 @@ libavutil: 2011-04-18
|
|||
|
||||
API changes, most recent first:
|
||||
|
||||
2011-06-07 - xxxxxxx - lavu 51.4.0 - av_get_bytes_per_sample()
|
||||
Add av_get_bytes_per_sample() in libavutil/samplefmt.h.
|
||||
Deprecate av_get_bits_per_sample_fmt().
|
||||
|
||||
2011-06-xx - xxxxxxx - lavu 51.3.0 - opt.h
|
||||
Add av_opt_free convenience function.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue