Browse Source

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
tags/v0.5
Diego Pettenò Benoit Fouet 18 years ago
parent
commit
a89889164c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libpostproc/postprocess.c

+ 2
- 2
libpostproc/postprocess.c 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;



Loading…
Cancel
Save