aboutsummaryrefslogtreecommitdiff
path: root/audio/flac/files/patch-src_libOggFLAC_file__decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/flac/files/patch-src_libOggFLAC_file__decoder.c')
-rw-r--r--audio/flac/files/patch-src_libOggFLAC_file__decoder.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/audio/flac/files/patch-src_libOggFLAC_file__decoder.c b/audio/flac/files/patch-src_libOggFLAC_file__decoder.c
deleted file mode 100644
index 213336bb84a6..000000000000
--- a/audio/flac/files/patch-src_libOggFLAC_file__decoder.c
+++ /dev/null
@@ -1,22 +0,0 @@
-
-$FreeBSD$
-
---- src/libOggFLAC/file_decoder.c.orig
-+++ src/libOggFLAC/file_decoder.c
-@@ -43,6 +43,7 @@
- #include "FLAC/assert.h"
- #include "protected/file_decoder.h"
- #include "protected/seekable_stream_decoder.h"
-+#include "share/alloc.h"
-
- /***********************************************************************
- *
-@@ -248,7 +249,7 @@
- decoder->private_->filename = 0;
- }
- if(0 != strcmp(value, "-")) {
-- if(0 == (decoder->private_->filename = (char*)malloc(strlen(value)+1))) {
-+ if(0 == (decoder->private_->filename = (char*)safe_malloc_add_2op_(strlen(value), /*+*/1))) {
- decoder->protected_->state = OggFLAC__FILE_DECODER_MEMORY_ALLOCATION_ERROR;
- return false;
- }