diff options
Diffstat (limited to 'libavcodec/g722dec.c')
-rw-r--r-- | libavcodec/g722dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g722dec.c b/libavcodec/g722dec.c index b9c634b..796db92 100644 --- a/libavcodec/g722dec.c +++ b/libavcodec/g722dec.c @@ -94,7 +94,7 @@ static int g722_decode_frame(AVCodecContext *avctx, void *data, /* get output buffer */ frame->nb_samples = avpkt->size * 2; - if ((ret = ff_get_buffer(avctx, frame)) < 0) { + if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) { av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); return ret; } |