]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libtheoraenc.c
Merge commit 'a67b67944aa9e6e794934d15f9fd9a9cf7173e09'
[ffmpeg] / libavcodec / libtheoraenc.c
index 43880072ca901075823a424a44f791e1d0e0538b..8e13af6933f557ee8dd6a488aad208646fa85707 100644 (file)
@@ -337,7 +337,7 @@ static int encode_frame(AVCodecContext* avc_context, AVPacket *pkt,
     }
 
     /* Copy ogg_packet content out to buffer */
-    if ((ret = ff_alloc_packet2(avc_context, pkt, o_packet.bytes)) < 0)
+    if ((ret = ff_alloc_packet2(avc_context, pkt, o_packet.bytes, 0)) < 0)
         return ret;
     memcpy(pkt->data, o_packet.packet, o_packet.bytes);