The planar/packed switch and the packing_formats list is no longer required, since the planar/packed information is now stored in the sample format enum. This is technically a major API break, possibly it should be not too painful as we marked the audio filtering API as unstable.
Showing the changes to libavfilter/avfilter.c (1 of 28 files). Show all
Unified · Split
| @@ -148,9 +148,6 @@ int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt, · 147 unmodified lines | ||
| 148 | 148 | if (link->out_channel_layouts) |
| 149 | 149 | ff_channel_layouts_changeref(&link->out_channel_layouts, |
| 150 | 150 | &filt->outputs[filt_dstpad_idx]->out_channel_layouts); |
| 151 | − if (link->out_packing) | |
| 152 | − avfilter_formats_changeref(&link->out_packing, | |
| 153 | − &filt->outputs[filt_dstpad_idx]->out_packing); | |
| 154 | 151 | if (link->out_samplerates) |
| 155 | 152 | avfilter_formats_changeref(&link->out_samplerates, |
| 156 | 153 | &filt->outputs[filt_dstpad_idx]->out_samplerates); |