Commit 4e2c6368 authored by Michael Niedermayer's avatar Michael Niedermayer

sws: dont write out of array on bigendian

Fixes Ticket2229
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 48870853
......@@ -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