[MPlayer-cvslog] r23451 - trunk/libmpdemux/demuxer.h

zuxy subversion at mplayerhq.hu
Sat Jun 2 18:04:57 CEST 2007


Author: zuxy
Date: Sat Jun  2 18:04:56 2007
New Revision: 23451

Log:
Make realloc_struct inline as other functions defined in demuxer.h


Modified:
   trunk/libmpdemux/demuxer.h

Modified: trunk/libmpdemux/demuxer.h
==============================================================================
--- trunk/libmpdemux/demuxer.h	(original)
+++ trunk/libmpdemux/demuxer.h	Sat Jun  2 18:04:56 2007
@@ -275,7 +275,7 @@ inline static void free_demux_packet(dem
 #define SIZE_MAX ((size_t)-1)
 #endif
 
-static void *realloc_struct(void *ptr, size_t nmemb, size_t size) {
+inline static void *realloc_struct(void *ptr, size_t nmemb, size_t size) {
   if (nmemb > SIZE_MAX / size) {
     free(ptr);
     return NULL;



More information about the MPlayer-cvslog mailing list