Make filterDelimiters and optionDelimiters two static constant array of

characters, should move them to .rodata.
Patch by Diego 'Flameeyes' Pettenò flameeyes § gmail dot com

Originally committed as revision 11380 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Pettenò 2008-01-03 08:39:38 +00:00 committed by Benoit Fouet
parent d6939960d5
commit a89889164c
1 changed files with 2 additions and 2 deletions

View File

@ -745,8 +745,8 @@ pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality)
{
char temp[GET_MODE_BUFFER_SIZE];
char *p= temp;
const char *filterDelimiters= ",/";
const char *optionDelimiters= ":";
static const char filterDelimiters[] = ",/";
static const char optionDelimiters[] = ":";
struct PPMode *ppMode;
char *filterToken;