[FFmpeg-devel] [PATCH] imgutils: generalize linesize computation for bitstream formats
stefano.sabatini-lala at poste.it
Sun May 15 12:32:39 CEST 2011
On date Saturday 2011-05-14 21:34:07 +0200, Michael Niedermayer encoded:
> On Fri, May 13, 2011 at 05:24:46PM +0200, Stefano Sabatini wrote:
> > Make it a subcase of the general algorithm used for the non-bitstream
> > case. Simplify, and make av_image_get_linesize() and
> > av_image_fill_linesizes() correctly return the right value when plane
> > != 0.
> > All the supported bitstream formats have only one plane (containing
> > all the components), so the linesize of all the other planes should be
> > set to 0.
> > In particular fix a crash occurring with:
> > -vf format=monow,showinfo,format=showinfo.
> if this fixes a bug it should be ok
FFmpeg = Formidable & Forgiving Merciful Peaceful Elitist God
More information about the ffmpeg-devel