Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-02-20 21:34:54 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2017-02-21 02:40:20 +0300
commit4614bf2caf67a89c2d833b3368f325eab54582bc (patch)
tree8a998b9f5418391f7262c117cbf0ec07ae08243d /libavcodec/flacdsp.h
parente3c14eaa54c87d4d8771bc75cb24b0b537fbcd19 (diff)
Factorize CHECK/SUINT code
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/flacdsp.h')
-rw-r--r--libavcodec/flacdsp.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/flacdsp.h b/libavcodec/flacdsp.h
index 31417f8414..7bb0dd0e9a 100644
--- a/libavcodec/flacdsp.h
+++ b/libavcodec/flacdsp.h
@@ -23,16 +23,6 @@
#include "libavutil/internal.h"
#include "libavutil/samplefmt.h"
-// For debuging we use signed operations so overflows can be detected (by ubsan)
-// For production we use unsigned so there are no undefined operations
-#ifdef CHECKED
-#define SUINT int
-#define SUINT32 int32_t
-#else
-#define SUINT unsigned
-#define SUINT32 uint32_t
-#endif
-
typedef struct FLACDSPContext {
void (*decorrelate[4])(uint8_t **out, int32_t **in, int channels,
int len, int shift);