changeset 29950:dca751c62fb2

Avoid miscompilation issues with the grow_array function more permanently by marking it noinline.
author reimar
date Fri, 11 Dec 2009 22:27:42 +0000
parents fc8f901ee516
children 0816de0f6db1
files libmpdemux/demux_mkv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c	Fri Dec 11 21:33:57 2009 +0000
+++ b/libmpdemux/demux_mkv.c	Fri Dec 11 22:27:42 2009 +0000
@@ -208,7 +208,7 @@
  * \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)