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:
authorStefano Sabatini <stefasab@gmail.com>2013-05-12 15:37:33 +0400
committerStefano Sabatini <stefasab@gmail.com>2013-05-13 15:52:26 +0400
commit84be80698227366d970e045001e4b59e4f99f0a1 (patch)
tree62048339311972c4ddfee4c0385bcaa8da1ed4eb /libavutil/internal.h
parente70e2583d07188b6508cfb097ab222afd6b08d11 (diff)
lavu: define FF_MEMORY_POISON and use it
Allow single-place definition of constant used to fill poisoned memory.
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r--libavutil/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 76018a8a2f..c5835fb4f8 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -66,6 +66,8 @@
# define INT_BIT (CHAR_BIT * sizeof(int))
#endif
+#define FF_MEMORY_POISON 0x2a
+
// Some broken preprocessors need a second expansion
// to be forced to tokenize __VA_ARGS__
#define E1(x) x