[MPlayer-dev-eng] [PATCH] vf_yadif.c: forgotten emms/femms

Rich Felker dalias at aerifal.cx
Fri Sep 22 00:59:26 CEST 2006


On Thu, Sep 21, 2006 at 10:15:16PM +0200, Reimar Döffinger wrote:
> Hello,
> since the asm patch for yadif I kept getting nan for pts values all over
> the place.
> Seems the reason is a missing emms/femms.
> Attached patch fixes it, but feel free to place it at a better place.
> 
> Greetings,
> Reimar Döffinger

> Index: libmpcodecs/vf_yadif.c
> ===================================================================
> --- libmpcodecs/vf_yadif.c	(revision 19923)
> +++ libmpcodecs/vf_yadif.c	(working copy)
> @@ -276,6 +276,7 @@
>  #undef prev2
>  #undef next2
>      }
> +    asm volatile("emms \n\t" : : : "memory");

Is this protected inside proper ifdef?

Rich




More information about the MPlayer-dev-eng mailing list