0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

Avoid miscompilation issues with the grow_array function more permanently

by marking it noinline.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29992 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-12-11 22:27:42 +00:00
parent e58e467c56
commit a5ceff924f

View File

@ -208,7 +208,7 @@ extern int dvdsub_id;
* \param nelem current number of elements in array
* \param elsize size of one array element
*/
static void grow_array(void *arrayp, int nelem, size_t elsize) {
static void av_noinline grow_array(void *arrayp, int nelem, size_t elsize) {
void **array = arrayp;
void *oldp = *array;
if (nelem & 31)