Commit 911fa05b authored by Martin Storsjö's avatar Martin Storsjö

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: 's avatarMartin Storsjö <>
parent 6dfd99c9
......@@ -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
s->frame = av_frame_alloc();
if (!s->frame)
......@@ -185,10 +185,10 @@ FATE_SAMPLES_AVCONV-$(call DEMDEC, MPEGTS, MPEG2VIDEO) += fate-mpeg2-field-enc
fate-mpeg2-field-enc: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -an -vframes 30
FATE_SAMPLES_AVCONV-$(call DEMDEC, MV, MVC1) += fate-mv-mvc1
fate-mv-mvc1: CMD = framecrc -i $(TARGET_SAMPLES)/mv/ -an -frames 25
fate-mv-mvc1: CMD = framecrc -i $(TARGET_SAMPLES)/mv/ -an -frames 25 -pix_fmt rgb555le
FATE_SAMPLES_AVCONV-$(call DEMDEC, MV, MVC2) += fate-mv-mvc2
fate-mv-mvc2: CMD = framecrc -i $(TARGET_SAMPLES)/mv/ -an -frames 30
fate-mv-mvc2: CMD = framecrc -i $(TARGET_SAMPLES)/mv/ -an -frames 30 -pix_fmt bgra
FATE_SAMPLES_AVCONV-$(call DEMDEC, MV, SGIRLE) += fate-mv-sgirle
fate-mv-sgirle: CMD = framecrc -i $(TARGET_SAMPLES)/mv/ -an
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