diff options
Diffstat (limited to 'libavcodec/y41penc.c')
-rw-r--r-- | libavcodec/y41penc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/y41penc.c b/libavcodec/y41penc.c index b30cbfaf26..0645d276b4 100644 --- a/libavcodec/y41penc.c +++ b/libavcodec/y41penc.c @@ -42,7 +42,7 @@ static int y41p_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 * 1.5)) < 0) + if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 1.5, 0)) < 0) return ret; avctx->coded_frame->key_frame = 1; |