proresdec2: Only try to decode alpha plane if four output planes were allocated.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 18 May 2013 23:48:39 +0000 (01:48 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 18 May 2013 23:48:39 +0000 (01:48 +0200)
commite32bbd411242658717b0dd637dd85da4c8b40437
tree13f44010d80b4d16c49641c943bf6e07a54bac46
parentc86d3a54dedc4dbf37a84a3559facb7e7ad8ef9f
proresdec2: Only try to decode alpha plane if four output planes were allocated.

Fixes a crash with MPlayer.
libavcodec/proresdec2.c