#include "postprocess.h"
#include "postprocess_internal.h"
-#include "mangle.h" //FIXME should be supressed
-
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
/* -pp Command line Help
*/
-char *pp_help=
+const char *const pp_help=
"Available postprocessing filters:\n"
"Filters Options\n"
"short long name short long option Description\n"
"\n"
;
-pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality)
+pp_mode_t *pp_get_mode_by_name_and_quality(const 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;
return "postproc";
}
-static AVClass av_codec_context_class = { "Postproc", context_to_name, NULL };
+static const AVClass av_codec_context_class = { "Postproc", context_to_name, NULL };
pp_context_t *pp_get_context(int width, int height, int cpuCaps){
PPContext *c= av_malloc(sizeof(PPContext));