A function name should tell what the function does rather than what the function returns. This also avoids possible conflicts (e.g. between a function and a public list of all supported formats), and clarifies the code. Breaks audio API/ABI, add a backward compatibility layer for video API/ABI.
Showing the changes to doc/APIchanges (1 of 6 files). Show all
Unified · Split
| @@ -13,6 +13,14 @@ libavutil: 2011-04-18 · 12 unmodified lines | |||
| 13 | 13 | ||
| 14 | API changes, most recent first: | 14 | API changes, most recent first: |
| 15 | 15 | ||
| 16 | 2011-09-16 - xxxxxxx - lavfi 2.41.0 | ||
| 17 | Rename avfilter_all_* function names to avfilter_make_all_*. | ||
| 18 | |||
| 19 | In particular, apply the renames: | ||
| 20 | avfilter_all_formats -> avfilter_make_all_formats | ||
| 21 | avfilter_all_channel_layouts -> avfilter_make_all_channel_layouts | ||
| 22 | avfilter_all_packing_formats -> avfilter_make_all_packing_formats | ||
| 23 | |||
| 16 | 2011-09-12 - xxxxxxx - lavfi 2.40.0 | 24 | 2011-09-12 - xxxxxxx - lavfi 2.40.0 |
| 17 | Change AVFilterBufferRefAudioProps.sample_rate type from uint32_t to int. | 25 | Change AVFilterBufferRefAudioProps.sample_rate type from uint32_t to int. |
| 18 | 26 | ||