if (av_frame_is_writable(frame)) {
out_frame = frame;
} else {
- out_frame = ff_get_audio_buffer(inlink, frame->nb_samples);
+ out_frame = ff_get_audio_buffer(outlink, frame->nb_samples);
if (!out_frame) {
av_frame_free(&frame);
return AVERROR(ENOMEM);
{ NULL }
};
-AVFilter ff_af_bs2b = {
+const AVFilter ff_af_bs2b = {
.name = "bs2b",
.description = NULL_IF_CONFIG_SMALL("Bauer stereo-to-binaural filter."),
.query_formats = query_formats,