On date Saturday 2016-02-13 15:32:57 +0100, Michael Niedermayer encoded: > Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > --- > libavutil/imgutils.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c > index 3320664..5c28703 100644 > --- a/libavutil/imgutils.c > +++ b/libavutil/imgutils.c > @@ -370,7 +370,7 @@ int av_image_get_buffer_size(enum AVPixelFormat pix_fmt, > > // do not include palette for these pseudo-paletted formats > if (desc->flags & AV_PIX_FMT_FLAG_PSEUDOPAL) > - return width * height; > + return FFALIGN(width, align) * height;
LGTM, thanks. -- FFmpeg = Friendly Fostering Marvellous Ponderous Enlightened Goblin _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel