diff postprocess.h @ 65:5bef666de27d libpostproc

Make pp_get_mode_by_name_and_quality accept a constant string. Patch by Diego 'Flameeyes' Petten flameeyes at gmail com
author benoit
date Thu, 03 Jan 2008 08:42:02 +0000
parents 98d3264ac47f
children 7737e39e74f3
line wrap: on
line diff
--- a/postprocess.h	Thu Jan 03 08:39:38 2008 +0000
+++ b/postprocess.h	Thu Jan 03 08:42:02 2008 +0000
@@ -56,7 +56,7 @@
  * name is the string after "-pp" on the command line
  * quality is a number from 0 to PP_QUALITY_MAX
  */
-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);
 void pp_free_mode(pp_mode_t *mode);
 
 pp_context_t *pp_get_context(int width, int height, int flags);