Browse Source

lavfi: set sample_rate in the default allocator.

tags/n1.0
Nicolas George 12 years ago
parent
commit
c262ddb8c5
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavfilter/audio.c

+ 2
- 0
libavfilter/audio.c View File

@@ -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…
Cancel
Save