Skip to content
Snippets Groups Projects
Commit 4e2c6368 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

sws: dont write out of array on bigendian


Fixes Ticket2229

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 48870853
No related branches found
No related tags found
No related merge requests found
......@@ -605,6 +605,9 @@ static rgbConvFn findRgbConvFn(SwsContext *c)
}
}
if ((dstFormat == AV_PIX_FMT_RGB32_1 || dstFormat == AV_PIX_FMT_BGR32_1) && !isRGBA32(srcFormat) && ALT32_CORR<0)
return NULL;
return conv;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment