diff options
author | Martin Storsjö <martin@martin.st> | 2014-04-19 18:51:38 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-04-19 21:41:34 +0300 |
commit | 911fa05b514e1be009e00b79d7004b93717c023b (patch) | |
tree | e830f347d86cc4dd5df172a9eb9d6d75c88934c1 /libavcodec/mvcdec.c | |
parent | 6dfd99c93808d6504dd5cb1fad847d68cb179352 (diff) | |
download | ffmpeg-911fa05b514e1be009e00b79d7004b93717c023b.tar.gz |
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>
Diffstat (limited to 'libavcodec/mvcdec.c')
-rw-r--r-- | libavcodec/mvcdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mvcdec.c b/libavcodec/mvcdec.c index fefb705bb9..7cc0329257 100644 --- a/libavcodec/mvcdec.c +++ b/libavcodec/mvcdec.c @@ -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); |