]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/xbmenc.c
avcodec/mpeg12enc: extend QP range to 28 for non linear quantizers
[ffmpeg] / libavcodec / xbmenc.c
index a752bdf2a73b17cedf2d9298869dc5f417fd9d6c..b25615f2a47251e904fd1fd0aa43102133cbba92 100644 (file)
@@ -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;