aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/libcelt_dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/libcelt_dec.c')
-rw-r--r--libavcodec/libcelt_dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libcelt_dec.c b/libavcodec/libcelt_dec.c
index a66f9f5634..496b95a0ed 100644
--- a/libavcodec/libcelt_dec.c
+++ b/libavcodec/libcelt_dec.c
@@ -111,7 +111,7 @@ static int libcelt_dec_decode(AVCodecContext *c, void *data,
int16_t *pcm;
frame->nb_samples = c->frame_size;
- err = ff_get_buffer(c, frame);
+ err = ff_get_buffer(c, frame, 0);
if (err < 0) {
av_log(c, AV_LOG_ERROR, "get_buffer() failed\n");
return err;