summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vf.c')
-rw-r--r--libmpcodecs/vf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c
index 7c84a49ef0..d7ecb2deaa 100644
--- a/libmpcodecs/vf.c
+++ b/libmpcodecs/vf.c
@@ -19,16 +19,13 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <assert.h>
#include "config.h"
#if HAVE_MALLOC_H
#include <malloc.h>
#endif
-#ifdef MP_DEBUG
-#include <assert.h>
-#endif
-
#include "mp_msg.h"
#include "m_option.h"
#include "m_struct.h"
@@ -270,12 +267,10 @@ mp_image_t* vf_get_image(vf_instance_t* vf, unsigned int outfmt, int mp_imgtype,
int w2;
int number = mp_imgtype >> 16;
-#ifdef MP_DEBUG
assert(w == -1 || w >= vf->w);
assert(h == -1 || h >= vf->h);
assert(vf->w > 0);
assert(vf->h > 0);
-#endif
// fprintf(stderr, "get_image: %d:%d, vf: %d:%d\n", w,h,vf->w,vf->h);