librsvgdec: Fix pix_fmt on big-endian hardware.

pull/259/head
Carl Eugen Hoyos 8 years ago
parent 5fd4cffe32
commit 66e56e7b2e
  1. 2
      libavcodec/librsvgdec.c

@ -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;

Loading…
Cancel
Save