diff options
Diffstat (limited to 'libavcodec/xfaceenc.c')
-rw-r--r-- | libavcodec/xfaceenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xfaceenc.c b/libavcodec/xfaceenc.c index ca0f72bc9e..38f63e622a 100644 --- a/libavcodec/xfaceenc.c +++ b/libavcodec/xfaceenc.c @@ -202,7 +202,7 @@ static int xface_encode_frame(AVCodecContext *avctx, AVPacket *pkt, intbuf[i++] = r + XFACE_FIRST_PRINT; } - if ((ret = ff_alloc_packet2(avctx, pkt, i+2)) < 0) + if ((ret = ff_alloc_packet2(avctx, pkt, i+2, 0)) < 0) return ret; /* revert the number, and close the buffer */ |