]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/msvideo1enc.c
Merge commit 'd8ebb6157d12183ed3fc987cd2ba18b404758828'
[ffmpeg] / libavcodec / msvideo1enc.c
index 5e6cdfa3f818a846703eaa3087f2c350e9ac1ceb..b6ae92b2ac79d43ac68c378c4c264a95800aaf4f 100644 (file)
@@ -76,7 +76,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
     int skips = 0;
     int quality = 24;
 
-    if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width*avctx->height*9 + FF_MIN_BUFFER_SIZE)) < 0)
+    if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width*avctx->height*9 + AV_INPUT_BUFFER_MIN_SIZE, 0)) < 0)
         return ret;
     dst= buf= pkt->data;