X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Flibwebpenc_common.c;h=3c4c3e22943b33e2ff09bab7d44f8588982314ac;hb=bd96c54fe4819b3ca9a975e2083d67f4443c559b;hp=21d7adaf56ffee5b88daaa6f242df75eda26bbf2;hpb=ecb5546e97c479378e057f527cc1d79a46c31cb1;p=ffmpeg diff --git a/libavcodec/libwebpenc_common.c b/libavcodec/libwebpenc_common.c index 21d7adaf56f..3c4c3e22943 100644 --- a/libavcodec/libwebpenc_common.c +++ b/libavcodec/libwebpenc_common.c @@ -142,7 +142,7 @@ int ff_libwebp_get_frame(AVCodecContext *avctx, LibWebPContextCommon *s, alt_frame->format = frame->format; if (s->cr_threshold) alt_frame->format = AV_PIX_FMT_YUVA420P; - ret = av_frame_get_buffer(alt_frame, 32); + ret = av_frame_get_buffer(alt_frame, 0); if (ret < 0) goto end; alt_frame->format = frame->format;