[FFmpeg-devel] [PATCH]Fix zmbv 32bit colourspace
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Mar 5 15:07:04 CET 2013
Hi!
Attached patch fixes 32bit zmbv files here.
Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c
index d1530e7..47b3468 100644
--- a/libavcodec/zmbv.c
+++ b/libavcodec/zmbv.c
@@ -479,7 +479,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac
c->bpp = 32;
decode_intra = zmbv_decode_intra;
c->decode_xor = zmbv_decode_xor_32;
- avctx->pix_fmt = AV_PIX_FMT_BGRA;
+ avctx->pix_fmt = AV_PIX_FMT_BGR0;
c->stride = c->width * 4;
break;
default:
More information about the ffmpeg-devel
mailing list