summaryrefslogtreecommitdiff
path: root/libavcodec/asvenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/asvenc.c')
-rw-r--r--libavcodec/asvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/asvenc.c b/libavcodec/asvenc.c
index 4b390b047a..d51df80331 100644
--- a/libavcodec/asvenc.c
+++ b/libavcodec/asvenc.c
@@ -265,7 +265,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
}
if ((ret = ff_alloc_packet2(avctx, pkt, a->mb_height * a->mb_width * MAX_MB_SIZE +
- FF_MIN_BUFFER_SIZE, 0)) < 0)
+ AV_INPUT_BUFFER_MIN_SIZE, 0)) < 0)
return ret;
init_put_bits(&a->pb, pkt->data, pkt->size);