[MPlayer-cvslog] r29992 - trunk/libmpdemux/demux_mkv.c

reimar subversion at mplayerhq.hu
Fri Dec 11 23:27:42 CET 2009


Author: reimar
Date: Fri Dec 11 23:27:42 2009
New Revision: 29992

Log:
Avoid miscompilation issues with the grow_array function more permanently
by marking it noinline.

Modified:
   trunk/libmpdemux/demux_mkv.c

Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c	Fri Dec 11 22:33:57 2009	(r29991)
+++ trunk/libmpdemux/demux_mkv.c	Fri Dec 11 23:27:42 2009	(r29992)
@@ -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)


More information about the MPlayer-cvslog mailing list