Remove AVFilterBufferRefAudioProps.size, and use nb_samples in avfilter_get_audio_buffer() and avfilter_default_get_audio_buffer() in place of size. This is required as the size in the audio buffer may be aligned, so it may not contain a well defined number of samples.
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -13,6 +13,11 @@ libavutil: 2011-04-18 · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | API changes, most recent first: |
| 15 | 15 | |
| 16 | +2011-06-06 - xxxxxx - lavfi 2.14.0 - AVFilterBufferRefAudioProps | |
| 17 | + Remove AVFilterBufferRefAudioProps.size, and use nb_samples in | |
| 18 | + avfilter_get_audio_buffer() and avfilter_default_get_audio_buffer() in | |
| 19 | + place of size. | |
| 20 | + | |
| 16 | 21 | 2011-06-06 - xxxxxx - lavu 51.6.0 - av_samples_alloc() |
| 17 | 22 | Switch nb_channels and nb_samples parameters order in |
| 18 | 23 | av_samples_alloc(). |