summaryrefslogtreecommitdiff
path: root/libavcodec/v308enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/v308enc.c')
-rw-r--r--libavcodec/v308enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/v308enc.c b/libavcodec/v308enc.c
index 0e5ab822c0..4331ec129f 100644
--- a/libavcodec/v308enc.c
+++ b/libavcodec/v308enc.c
@@ -41,7 +41,7 @@ static int v308_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
uint8_t *y, *u, *v;
int i, j, ret;
- if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 3)) < 0)
+ if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 3, 0)) < 0)
return ret;
dst = pkt->data;