]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/pamenc.c
Merge commit '3e853ff7acc56b180950ab39e7282f1b938c8784'
[ffmpeg] / libavcodec / pamenc.c
index 03f6454fbc2fb84c034ef64ef36ef2a1b80f5fec..50c9fcb4046f69dab43bbdc5dd7e5e5b9e8073ee 100644 (file)
@@ -91,7 +91,7 @@ static int pam_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
         return -1;
     }
 
-    if ((ret = ff_alloc_packet2(avctx, pkt, n*h + 200)) < 0)
+    if ((ret = ff_alloc_packet2(avctx, pkt, n*h + 200, 0)) < 0)
         return ret;
 
     bytestream_start =