diff options
| author | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-08-20 15:26:01 +0000 |
|---|---|---|
| committer | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-08-20 15:26:01 +0000 |
| commit | 17f0828c74d94b1fd3a4674372518703d4da939c (patch) | |
| tree | c67aee0efbb6a63501d8b0ba5a10b985b253f5cb /codec | |
| parent | 8298fd2b0a976cbf064c04f6a248dbfe124d2cf3 (diff) | |
Fixed _strnicmp bug
Diffstat (limited to 'codec')
| -rw-r--r-- | codec/image_to_j2k.c | 2 | ||||
| -rw-r--r-- | codec/j2k_to_image.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/codec/image_to_j2k.c b/codec/image_to_j2k.c index 44747ee0..75a763f8 100644 --- a/codec/image_to_j2k.c +++ b/codec/image_to_j2k.c @@ -380,7 +380,7 @@ int get_file_format(char *filename) { return -1; ext++; for(i = 0; i < sizeof(format)/sizeof(*format); i++) { - if(_strnicmp(ext, extension[i], 3) == 0) { + if(strnicmp(ext, extension[i], 3) == 0) { return format[i]; } } diff --git a/codec/j2k_to_image.c b/codec/j2k_to_image.c index 18f478ac..e19920c1 100644 --- a/codec/j2k_to_image.c +++ b/codec/j2k_to_image.c @@ -191,7 +191,7 @@ int get_file_format(char *filename) { ext++; if(ext) { for(i = 0; i < sizeof(format)/sizeof(*format); i++) { - if(_strnicmp(ext, extension[i], 3) == 0) { + if(strnicmp(ext, extension[i], 3) == 0) { return format[i]; } } |
