]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ffwavesynth.c
Merge commit '594d4d5df3c70404168701dd5c90b7e6e5587793'
[ffmpeg] / libavcodec / ffwavesynth.c
index c63b90ff29a990296bcf8562565844e0e5588b17..eb3b4551c0f5c442415c72052717944ca07869fb 100644 (file)
@@ -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];