[FFmpeg-devel] Again pre-multiplied alpha

Niklas Haas ffmpeg at haasn.xyz
Thu Jul 24 23:58:00 EEST 2025


On Thu, 24 Jul 2025 16:59:24 +0200 Nicolas George <george at nsup.org> wrote:
> Right now, I an not demanding negotiation, I am just requiring
> protection:
>
> 	if (frame->is_premultiplied && !out->supports_premultiplied) {
> 	    av_log(ctx, AV_LOG_ERROR, "Your data is about to be
> 	    corrupted because it comes as premultiplied alpha.");
> 	    return AVERROR_PATCHWELCOME;
> 	}

On what component are you missing an error here?

>
> Regards,
>
> --
>   Nicolas George
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list