[FFmpeg-devel] [RFC]Fix aic on PPC
Carl Eugen Hoyos
cehoyos at ag.or.at
Sat Jun 14 18:20:31 CEST 2014
Hi!
Attached patch fixes aic output on Altivec.
Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/aic.c b/libavcodec/aic.c
index 23bfa0b..6653423 100644
--- a/libavcodec/aic.c
+++ b/libavcodec/aic.c
@@ -428,6 +428,8 @@ static av_cold int aic_decode_init(AVCodecContext *avctx)
avctx->pix_fmt = AV_PIX_FMT_YUV420P;
+ if (ARCH_PPC)
+ avctx->idct_algo = FF_IDCT_SIMPLE;
ff_dsputil_init(&ctx->dsp, avctx);
for (i = 0; i < 64; i++)
More information about the ffmpeg-devel
mailing list