[FFmpeg-devel] [PATCH] Revert

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Nov 1 01:55:31 CET 2012

On Thursday 01 November 2012 01:45:28 am Michael Niedermayer wrote:

> > The problem is the MMX version of AV_COPY64()
> try adding a emms_c() somewhere, maybe after parse_bintree()

Attached patch fixes direct rendering in MPlayer here when I revert my removal 

Thank you, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c
index 126bd2b..9501763 100644
--- a/libavcodec/indeo3.c
+++ b/libavcodec/indeo3.c
@@ -1094,6 +1094,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
     if ((res = decode_plane(ctx, avctx, &ctx->planes[2], ctx->v_data_ptr, ctx->v_data_size, 10)))
         return res;
+    emms_c();
     if (ctx->frame.data[0])
         avctx->release_buffer(avctx, &ctx->frame);

More information about the ffmpeg-devel mailing list