projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d693996
)
Make filterDelimiters and optionDelimiters two static constant array of
author
Diego Pettenò
<flameeyes@gmail.com>
Thu, 3 Jan 2008 08:39:38 +0000
(08:39 +0000)
committer
Benoit Fouet
<benoit.fouet@free.fr>
Thu, 3 Jan 2008 08:39:38 +0000
(08:39 +0000)
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
libpostproc/postprocess.c
patch
|
blob
|
history
diff --git
a/libpostproc/postprocess.c
b/libpostproc/postprocess.c
index
ee09a54
..
f6905de
100644
(file)
--- 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;