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:
parent
d6939960d5
commit
a89889164c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user