Commit a4599a7f authored by benoit's avatar benoit

Make pp_help a constant array of characters to move it to .rodata.

Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11487 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2742b2a1
......@@ -694,7 +694,11 @@ static inline void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int
/* -pp Command line Help
*/
#if LIBPOSTPROC_VERSION_INT < (52<<16)
const char *const pp_help=
#else
const char pp_help[] =
#endif
"Available postprocessing filters:\n"
"Filters Options\n"
"short long name short long option Description\n"
......
......@@ -42,7 +42,11 @@
typedef void pp_context_t;
typedef void pp_mode_t;
#if LIBPOSTPROC_VERSION_INT < (52<<16)
extern const char *const pp_help; ///< a simple help text
#else
extern const char pp_help[]; ///< a simple help text
#endif
void pp_postprocess(uint8_t * src[3], int srcStride[3],
uint8_t * dst[3], int dstStride[3],
......
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