#include "libavutil/intreadwrite.h"
#include "libavutil/log.h"
#include "avcodec.h"
+#include "internal.h"
+
#define SIN_BITS 14
#define WS_MAX_CHANNELS 32
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];