Commit 71fee2ab authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Carl Eugen Hoyos

sws: dont write out of array on bigendian

Fixes Ticket2229
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 4e2c6368)
parent 7d3e2176
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment