librsvgdec: Fix pix_fmt on big-endian hardware.

This commit is contained in:
Carl Eugen Hoyos 2017-05-16 12:51:52 +02:00
parent 5fd4cffe32
commit 66e56e7b2e

View File

@ -67,7 +67,7 @@ static int librsvg_decode_frame(AVCodecContext *avctx, void *data, int *got_fram
if ((ret = ff_set_dimensions(avctx, dimensions.width, dimensions.height)))
return ret;
avctx->pix_fmt = AV_PIX_FMT_BGRA;
avctx->pix_fmt = AV_PIX_FMT_RGB32;
if ((ret = ff_get_buffer(avctx, frame, 0)))
return ret;