Commit 66e56e7b authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

librsvgdec: Fix pix_fmt on big-endian hardware.

parent 5fd4cffe
......@@ -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;
......
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