enum AVPictureType pict_type;
int ret;
- if ((ret = ff_alloc_packet2(avctx, pkt, s->max_buf_size)) < 0)
+ if ((ret = ff_alloc_packet2(avctx, pkt, s->max_buf_size, 0)) < 0)
return ret;
if (avctx->gop_size == 0 || (s->avctx->frame_number % avctx->gop_size) == 0) {