Make pp_get_mode_by_name_and_quality accept a constant string.
[ffmpeg.git] / libpostproc / postprocess.c
index f6905de..e52574c 100644 (file)
@@ -741,7 +741,7 @@ char *pp_help=
 "\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;