diff options
Diffstat (limited to 'libavcodec/ffwavesynth.c')
-rw-r--r-- | libavcodec/ffwavesynth.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/ffwavesynth.c b/libavcodec/ffwavesynth.c index c63b90ff29..eb3b4551c0 100644 --- a/libavcodec/ffwavesynth.c +++ b/libavcodec/ffwavesynth.c @@ -22,6 +22,8 @@ #include "libavutil/intreadwrite.h" #include "libavutil/log.h" #include "avcodec.h" +#include "internal.h" + #define SIN_BITS 14 #define WS_MAX_CHANNELS 32 @@ -442,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 = avc->get_buffer(avc, &ws->frame); + r = ff_get_buffer(avc, &ws->frame); if (r < 0) return r; pcm = (int16_t *)ws->frame.data[0]; |