History

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.

Stefano Sabatini committed 15 years ago

Commit a6703fa1 parent 2f373214 files · +29 −4Browse files

Showing the changes to doc/APIchanges (1 of 4 files). Show all

Unified · Split

doc/APIchanges+4−0
@@ -13,6 +13,10 @@ libavutil: 2011-04-18 · 12 unmodified lines
13 13
14API changes, most recent first:14API changes, most recent first:
15 15
162011-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
162011-06-xx - xxxxxxx - lavu 51.3.0 - opt.h202011-06-xx - xxxxxxx - lavu 51.3.0 - opt.h
17 Add av_opt_free convenience function.21 Add av_opt_free convenience function.
18 22

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t