Commit c262ddb8 authored by Nicolas George's avatar Nicolas George

lavfi: set sample_rate in the default allocator.

parent 9d89d1d4
......@@ -59,6 +59,8 @@ AVFilterBufferRef *ff_default_get_audio_buffer(AVFilterLink *link, int perms,
if (!samplesref)
goto fail;
samplesref->audio->sample_rate = link->sample_rate;
av_freep(&data);
fail:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment