summaryrefslogtreecommitdiff
path: root/libavcodec/xbmenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/xbmenc.c')
-rw-r--r--libavcodec/xbmenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xbmenc.c b/libavcodec/xbmenc.c
index a752bdf2a7..b25615f2a4 100644
--- a/libavcodec/xbmenc.c
+++ b/libavcodec/xbmenc.c
@@ -32,7 +32,7 @@ static int xbm_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
linesize = (avctx->width + 7) / 8;
size = avctx->height * (linesize * 7 + 2) + 110;
- if ((ret = ff_alloc_packet2(avctx, pkt, size)) < 0)
+ if ((ret = ff_alloc_packet2(avctx, pkt, size, 0)) < 0)
return ret;
buf = pkt->data;