On Tue, Sep 24, 2013 at 02:14:07PM +0200, Anton Khirnov wrote: > > On Thu, 19 Sep 2013 17:51:32 -0400, Justin Ruggles <justin.rugg...@gmail.com> > wrote: > > From: Michael Niedermayer <michae...@gmx.at> > > > > Signed-off-by: Michael Niedermayer <michae...@gmx.at> > > --- > > libswscale/swscale_unscaled.c | 7 ++++++- > > 1 file changed, 6 insertions(+), 1 deletion(-) > > > > diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c > > index 3e5f49e..185dbfa 100644 > > --- a/libswscale/swscale_unscaled.c > > +++ b/libswscale/swscale_unscaled.c > > @@ -650,8 +650,13 @@ static int rgbToRgbWrapper(SwsContext *c, const > > uint8_t *src[], int srcStride[], > > srcPtr += ALT32_CORR; > > > > if ((dstFormat == AV_PIX_FMT_RGB32_1 || dstFormat == > > AV_PIX_FMT_BGR32_1) && > > - !isRGBA32(srcFormat)) > > + !isRGBA32(srcFormat)) { > > + int i; > > + av_assert0(ALT32_CORR == 1); > > ALT32_CORR is -1 on BE apparrently > Any reason this code never gets run on BE?
Because the guy who wrote it never cared much about BE systems? _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel