From a5ceff924f07b9c0c6b192f90cc4f2487a7e9b36 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 11 Dec 2009 22:27:42 +0000 Subject: [PATCH] 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 --- libmpdemux/demux_mkv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/demux_mkv.c b/libmpdemux/demux_mkv.c index 37a4628dd0..aa900d343a 100644 --- a/libmpdemux/demux_mkv.c +++ b/libmpdemux/demux_mkv.c @@ -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)