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

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorHenrik Gramner <gramner@twoorioles.com>2019-08-09 23:41:18 +0300
committerHenrik Gramner <henrik@gramner.com>2019-08-19 01:02:29 +0300
commit6751c9803695a2f12afb8f2cf080a4f9c2c8973a (patch)
tree96fb5e7a7c85f880080aeb154ae935de6e44b5bb /src/env.h
parent3d94fb9aff5d2837c9ee0c13fff3d4e2424623ae (diff)
Utilize the constraints in assertions to improve code generation
When compiling in release mode, instead of just deleting assertions, use them to give hints to the compiler. This allows for slightly better code generation in some cases.
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/env.h b/src/env.h
index 1f23ac1..3ec4a53 100644
--- a/src/env.h
+++ b/src/env.h
@@ -28,7 +28,6 @@
#ifndef DAV1D_SRC_ENV_H
#define DAV1D_SRC_ENV_H
-#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>