diff --git a/libavcodec/rangecoder.h b/libavcodec/rangecoder.h
index 3c363ac32c848b3b15e6d3dff521bab330a5daa8..1d68b9ac9ae815610398c458ad42c4ab2837873f 100644
--- a/libavcodec/rangecoder.h
+++ b/libavcodec/rangecoder.h
@@ -23,10 +23,6 @@
  * Range coder.
  */
 
-
-#undef NDEBUG
-#include <assert.h>
-
 typedef struct RangeCoder{
     int low;
     int range;