diff options
Diffstat (limited to 'apps/codecs/libwavpack')
-rw-r--r-- | apps/codecs/libwavpack/unpack.c | 4 | ||||
-rw-r--r-- | apps/codecs/libwavpack/wputils.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/apps/codecs/libwavpack/unpack.c b/apps/codecs/libwavpack/unpack.c index 917f487b20..b9e53203b5 100644 --- a/apps/codecs/libwavpack/unpack.c +++ b/apps/codecs/libwavpack/unpack.c | |||
@@ -62,7 +62,7 @@ int unpack_init (WavpackContext *wpc) | |||
62 | 62 | ||
63 | while (read_metadata_buff (wpc, &wpmd)) { | 63 | while (read_metadata_buff (wpc, &wpmd)) { |
64 | if (!process_metadata (wpc, &wpmd)) { | 64 | if (!process_metadata (wpc, &wpmd)) { |
65 | strcpy (wpc->error_message, "invalid metadata!"); | 65 | /*strcpy (wpc->error_message, "invalid metadata!");*/ |
66 | return FALSE; | 66 | return FALSE; |
67 | } | 67 | } |
68 | 68 | ||
@@ -71,7 +71,7 @@ int unpack_init (WavpackContext *wpc) | |||
71 | } | 71 | } |
72 | 72 | ||
73 | if (wps->wphdr.block_samples && !bs_is_open (&wps->wvbits)) { | 73 | if (wps->wphdr.block_samples && !bs_is_open (&wps->wvbits)) { |
74 | strcpy (wpc->error_message, "invalid WavPack file!"); | 74 | /*strcpy (wpc->error_message, "invalid WavPack file!");*/ |
75 | return FALSE; | 75 | return FALSE; |
76 | } | 76 | } |
77 | 77 | ||
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 | } |