]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/r210enc.c
Merge commit 'a67b67944aa9e6e794934d15f9fd9a9cf7173e09'
[ffmpeg] / libavcodec / r210enc.c
index 0aae40977f1887c9c5927f677f59a0e404bb15c0..64aa33f55755b28189aad6d637eb569b2ae3dbcc 100644 (file)
@@ -34,7 +34,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
     uint8_t *src_line;
     uint8_t *dst;
 
-    if ((ret = ff_alloc_packet2(avctx, pkt, 4 * aligned_width * avctx->height)) < 0)
+    if ((ret = ff_alloc_packet2(avctx, pkt, 4 * aligned_width * avctx->height, 0)) < 0)
         return ret;
 
     avctx->coded_frame->key_frame = 1;