diff options
author | Diego Pettenò <flameeyes@gmail.com> | 2008-01-03 08:39:38 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2008-01-03 08:39:38 +0000 |
commit | a89889164cc784138ef184844ffa8abed394a497 (patch) | |
tree | 88d00963de03adba75609a2b400302aad02e6220 /libpostproc | |
parent | d6939960d56228e3ca2ae5937c2c0b26405c125e (diff) | |
download | ffmpeg-a89889164cc784138ef184844ffa8abed394a497.tar.gz |
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
Diffstat (limited to 'libpostproc')
-rw-r--r-- | libpostproc/postprocess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index ee09a54246..f6905de375 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -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; |