diff libmpdemux/demux_mkv.c @ 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 069c927d20d2
children 69799b95e74e
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)