mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02:00
lavfi: set sample_rate in the default allocator.
This commit is contained in:
parent
9d89d1d484
commit
c262ddb8c5
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user