[FFmpeg-cvslog] proresdec2: Only try to decode alpha plane if four output planes were allocated.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun May 19 08:17:30 CEST 2013


On 19.05.2013, at 02:00, git at videolan.org (Carl Eugen Hoyos) wrote:
> ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun May 19 01:48:39 2013 +0200| [e32bbd411242658717b0dd637dd85da4c8b40437] | committer: Carl Eugen Hoyos
> 
> proresdec2: Only try to decode alpha plane if four output planes were allocated.
> 
> Fixes a crash with MPlayer.

This seems strange, I don't quite understand how this happens, why it works with FFmpeg etc.
That said, for codecs with separate alpha planes it might make sense to let the application select the pixfmt and allow it to choose not decoding alpha.
There isn't really much sensible a standalone player can do with alpha, so decoding it is just a waste of time.


More information about the ffmpeg-cvslog mailing list