Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavfilter/audio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/audio.c b/libavfilter/audio.c
index e7306b134b..ae78ed8a5e 100644
--- a/libavfilter/audio.c
+++ b/libavfilter/audio.c
@@ -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: