mvc: Specify the pixel format for the mv-mvc* tests

Also set the RGBA pixel format correctly as the native endian format,
which is what it returns.

This fixes the tests on big endian.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö
2014-04-19 18:51:38 +03:00
parent 6dfd99c938
commit 911fa05b51
2 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ static av_cold int mvc_decode_init(AVCodecContext *avctx)
return ret;
avctx->pix_fmt = (avctx->codec_id == AV_CODEC_ID_MVC1) ? AV_PIX_FMT_RGB555
: AV_PIX_FMT_BGRA;
: AV_PIX_FMT_RGB32;
s->frame = av_frame_alloc();
if (!s->frame)
return AVERROR(ENOMEM);