[FFmpeg-devel] [PATCH 1/2] avutil/imgutils: do not ignore align parameter for pseudo-pal in av_image_get_buffer_size()
Michael Niedermayer
michael at niedermayer.cc
Sat Feb 13 16:23:08 CET 2016
On Sat, Feb 13, 2016 at 04:02:06PM +0100, Stefano Sabatini wrote:
> On date Saturday 2016-02-13 15:32:57 +0100, Michael Niedermayer encoded:
> > Signed-off-by: Michael Niedermayer <michael at 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.
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160213/5abb4b1c/attachment.sig>
More information about the ffmpeg-devel
mailing list