diff options
Diffstat (limited to 'libavcodec/ffwavesynth.c')
-rw-r--r-- | libavcodec/ffwavesynth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ffwavesynth.c b/libavcodec/ffwavesynth.c index eb3b4551c0..4f392f2f3c 100644 --- a/libavcodec/ffwavesynth.c +++ b/libavcodec/ffwavesynth.c @@ -444,7 +444,7 @@ static int wavesynth_decode(AVCodecContext *avc, void *rframe, int *rgot_frame, if (duration <= 0) return AVERROR(EINVAL); ws->frame.nb_samples = duration; - r = ff_get_buffer(avc, &ws->frame); + r = ff_get_buffer(avc, &ws->frame, 0); if (r < 0) return r; pcm = (int16_t *)ws->frame.data[0]; |