Mercurial > libpostproc.hg
diff postprocess.c @ 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 | 1912d7e2858d |
children | 7737e39e74f3 |
line wrap: on
line diff
--- a/postprocess.c Thu Jan 03 08:39:38 2008 +0000 +++ b/postprocess.c Thu Jan 03 08:42:02 2008 +0000 @@ -741,7 +741,7 @@ "\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;