[FFmpeg-devel] [PATCH] ffv1dec: plane_index is 1 in case of version 4 gray+alpha.

Michael Niedermayer michaelni at gmx.at
Sun May 3 02:07:41 CEST 2015


On Sat, May 02, 2015 at 01:35:13PM +0200, Jerome Martinez wrote:
> Le 02/05/2015 12:51, Michael Niedermayer a écrit :
> >On Sat, May 02, 2015 at 02:41:33AM +0200, Jerome Martinez wrote:
> >>
> >>shouldn't it be
> >>         if (fs->transparency)
> >>             decode_plane(fs, p->data[3] + ps*x + y*p->linesize[3],
> >>width, height, p->linesize[3], (f->version >= 4 &&
> >>!f->chroma_planes) ? 1 : 2);
> >yes, i think so too, please send a patch,
> 
> Attached
> 
> >note though this isnt
> >a bug as the case where this matters isnt supported
> 
> Sure (version 4 not considered stable).

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150503/18ebaa2c/attachment.asc>


More information about the ffmpeg-devel mailing list