]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/xfaceenc.c
Merge commit '5d8bea3bb2357bb304f8f771a4107039037c5549'
[ffmpeg] / libavcodec / xfaceenc.c
index ca0f72bc9e71c688a389489a8a8ee6406f7b24b9..38f63e622a37c6592b2ad899ab62912eba1140a7 100644 (file)
@@ -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 */