[Mplayerplug-in-cvs] mplayerplug-in/Source plugin-list.cpp, 1.79, 1.80
Brought to you by:
kdekorte
From: Kevin D. <kde...@us...> - 2009-05-03 16:22:51
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27802/Source Modified Files: plugin-list.cpp Log Message: Alternate patch to rmda file references Index: plugin-list.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-list.cpp,v retrieving revision 1.79 retrieving revision 1.80 diff -C2 -d -r1.79 -r1.80 *** plugin-list.cpp 3 Apr 2009 15:39:48 -0000 1.79 --- plugin-list.cpp 3 May 2009 16:22:40 -0000 1.80 *************** *** 409,422 **** } } - if ((nextrmda - size) == p) - break; p = nextrmda + 4; ! nextrmda = ! (char *) memmem(p, ! size - ((long) p - (long) buffer), ! "rmda", 4); ! if (nextrmda == NULL) ! nextrmda = buffer + size; ! } --- 409,423 ---- } } p = nextrmda + 4; ! if (p > (buffer + size)) { ! p = NULL; ! } else { ! nextrmda = ! (char *) memmem(p, ! size - ((long) p - (long) buffer), ! "rmda", 4); ! if (nextrmda == NULL) ! nextrmda = buffer + size; ! } } |