[x264-devel] Re: question : x264 bug...

Radek Czyz radoslaw at syskin.cjb.net
Thu Jun 30 05:24:07 CEST 2005


On x86, you musn't use floating point numbers without properly cleaning 
MMX state.


Ikseong Bae wrote:
> I found the x264's bug.
>  
> encoder/anaysyse.c...
>  
> static void x264_mb_analyse_inter_p16x16( x264_t *h, x264_mb_analysis_t 
> *a ) 
> {
> 
>  double     f64Data=0;
> 
>  f64Data = f64Data + 2;
> 
> }
>  
> In X264, I declared double type variable.
>  
> Whe the function is called in first, f64Data's value is 2.
> But the fucnion is called in second, f64Data value is crashed !
>  
> And I decalred int type variable.
> static void x264_mb_analyse_inter_p16x16( x264_t *h, x264_mb_analysis_t 
> *a ) 
> {
> 
>  int     n32Data=0;
> 
> n32Data = n32Data + 2;
> 
> }
>  
> Above the source code is good. First, second, third... good
>  
> I don't know the above problem.
>  
>  
> Best regards.
>  
> Bae
>  
>  
> 
> ------------------------------------------------------------------------
> Yahoo! Sports
> Rekindle the Rivalries. Sign up for Fantasy Football 
> <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=33539/*http://football.fantasysports.yahoo.com?ovchn=YAH&ovcpn=Integration&ovcrn=Mail+footer&ovrfd=YAH&ovtac=AD 
>  >

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list