Commit a8988916 authored by Diego Pettenò's avatar Diego Pettenò Committed by Benoit Fouet

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
parent d6939960
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment