View Full Version : Revision 1510 analyse.c at #2122 line have a array bug!


dvy
3rd April 2010, 19:35
#2122 line
ALIGNED_4( int16_t mvc[2][2] );
and #2151 line

CP32( mvc[0], lX->mvc[i_ref][0] );
CP32( mvc[1], lX->mvc[i_ref][i+1] );
CP32( mvc[2], lX->mvc[i_ref][i+3] );


I compile in debug mode with icl,encode video file, it caused stack var incorrect exception,but I compile in gcc it isn't exception.

I change mvc[2][2] to mvc[3][2] ,it is ok.

kemuri-_9
3rd April 2010, 19:39
yes, this has already been known about and fixed in Dark_Shikari's local patch tree.

dvy
3rd April 2010, 19:48
after icl compiled x264 raised exception ,I debug building x264 find this bug,gcc compiled x264 run normally .

Dark Shikari
3rd April 2010, 22:12
Yes, known bug, will be fixed in the next release.

Guest
4th April 2010, 00:03
Is it fixed in the NAL HRD version you just released in another thread?

http://forum.doom9.org/showthread.php?p=1388742#post1388742

Dark Shikari
4th April 2010, 00:22
Yes, as that includes my full local tree up to that point.