mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
missaligned arrays, as nick requested
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3082 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a1c02f562c
commit
4a06953ed4
@ -21,7 +21,6 @@
|
||||
//#define ARR_SIZE 100000
|
||||
#define ARR_SIZE (1024*768*2)
|
||||
|
||||
|
||||
#ifdef HAVE_MGA
|
||||
|
||||
#include "../drivers/mga_vid.h"
|
||||
@ -107,9 +106,9 @@ int main( void )
|
||||
mga_init();
|
||||
marr1 = &frame[3];
|
||||
#else
|
||||
marr1 = &arr1[0];
|
||||
marr1 = &arr1[3];
|
||||
#endif
|
||||
marr2 = &arr2[0];
|
||||
marr2 = &arr2[9];
|
||||
|
||||
for(i=0; i<ARR_SIZE; i++) marr1[i] = marr2[i] = i;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user