Niklas Haas (HE12025-07-23): > [PATCH v2 05/18] avcodec/encode: enforce alpha mode compatibility at encode time That handles it for encoders, I suppose. But I do not see anything protecting you from stacking images with different kind of alpha or sending this kind of frames to a muxer with uncoded frames. Regards, -- Nicolas George