216
216
avpicture_fill(&picture1, (uint8_t *) data, PIX_FMT_RGBA32, width, height);
217
217
if (pix_fmt != PIX_FMT_RGBA32) {
219
219
picture, pix_fmt, width, height) < 0) {
223
img_copy(&picture1, picture, PIX_FMT_RGBA32, width, height);
223
img_copy(&picture1, picture, PIX_FMT_RGBA32, width, height);
226
226
imlib_image_set_has_alpha(0);