Mercurial > libpostproc.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
64:1912d7e2858d | 65:5bef666de27d |
---|---|
739 "more examples:\n" | 739 "more examples:\n" |
740 "tn:64:128:256\n" | 740 "tn:64:128:256\n" |
741 "\n" | 741 "\n" |
742 ; | 742 ; |
743 | 743 |
744 pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality) | 744 pp_mode_t *pp_get_mode_by_name_and_quality(const char *name, int quality) |
745 { | 745 { |
746 char temp[GET_MODE_BUFFER_SIZE]; | 746 char temp[GET_MODE_BUFFER_SIZE]; |
747 char *p= temp; | 747 char *p= temp; |
748 static const char filterDelimiters[] = ",/"; | 748 static const char filterDelimiters[] = ",/"; |
749 static const char optionDelimiters[] = ":"; | 749 static const char optionDelimiters[] = ":"; |