diff options
Diffstat (limited to 'apps/codecs/libwavpack/wputils.c')
-rw-r--r-- | apps/codecs/libwavpack/wputils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/libwavpack/wputils.c b/apps/codecs/libwavpack/wputils.c index 21c399f517..9fff5db3bc 100644 --- a/apps/codecs/libwavpack/wputils.c +++ b/apps/codecs/libwavpack/wputils.c | |||
@@ -63,12 +63,12 @@ WavpackContext *WavpackOpenFileInput (read_stream infile, char *error) | |||
63 | bcount = read_next_header (wpc.infile, &wps->wphdr); | 63 | bcount = read_next_header (wpc.infile, &wps->wphdr); |
64 | 64 | ||
65 | if (bcount == (ulong) -1) { | 65 | if (bcount == (ulong) -1) { |
66 | strcpy (error, "not compatible with this version of WavPack file!"); | 66 | /*strcpy (error, "not compatible with this version of WavPack file!");*/ |
67 | return NULL; | 67 | return NULL; |
68 | } | 68 | } |
69 | 69 | ||
70 | if ((wps->wphdr.flags & UNKNOWN_FLAGS) || wps->wphdr.version < 0x402 || wps->wphdr.version > 0x40f) { | 70 | if ((wps->wphdr.flags & UNKNOWN_FLAGS) || wps->wphdr.version < 0x402 || wps->wphdr.version > 0x40f) { |
71 | strcpy (error, "not compatible with this version of WavPack file!"); | 71 | /*strcpy (error, "not compatible with this version of WavPack file!");*/ |
72 | return NULL; | 72 | return NULL; |
73 | } | 73 | } |
74 | 74 | ||
@@ -76,8 +76,8 @@ WavpackContext *WavpackOpenFileInput (read_stream infile, char *error) | |||
76 | wpc.total_samples = wps->wphdr.total_samples; | 76 | wpc.total_samples = wps->wphdr.total_samples; |
77 | 77 | ||
78 | if (!unpack_init (&wpc)) { | 78 | if (!unpack_init (&wpc)) { |
79 | strcpy (error, wpc.error_message [0] ? wpc.error_message : | 79 | /*strcpy (error, wpc.error_message [0] ? wpc.error_message : |
80 | "not compatible with this version of WavPack file!"); | 80 | "not compatible with this version of WavPack file!");*/ |
81 | 81 | ||
82 | return NULL; | 82 | return NULL; |
83 | } | 83 | } |