aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-05-27 20:22:55 +0200
committerDiego Biurrun <diego@biurrun.de>2011-05-29 13:43:02 +0200
commit2146f4928a45b37eba781a74aa8cc9ae50e89d52 (patch)
tree2419efc981f29da4729ac2f3108914f9031deacb
parent798b26467877007418d21722d59c769d17ed7233 (diff)
downloadffmpeg-2146f4928a45b37eba781a74aa8cc9ae50e89d52.tar.gz
vf_crop: Replace #ifdef DEBUG + av_log() by av_dlog().
-rw-r--r--libavfilter/vf_crop.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c
index 9f71b9e7dc..69e5a520c8 100644
--- a/libavfilter/vf_crop.c
+++ b/libavfilter/vf_crop.c
@@ -264,11 +264,9 @@ static void start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
crop->x &= ~((1 << crop->hsub) - 1);
crop->y &= ~((1 << crop->vsub) - 1);
-#ifdef DEBUG
- av_log(ctx, AV_LOG_DEBUG,
- "n:%d t:%f x:%d y:%d x+w:%d y+h:%d\n",
- (int)crop->var_values[VAR_N], crop->var_values[VAR_T], crop->x, crop->y, crop->x+crop->w, crop->y+crop->h);
-#endif
+ av_dlog(ctx, "n:%d t:%f x:%d y:%d x+w:%d y+h:%d\n",
+ (int)crop->var_values[VAR_N], crop->var_values[VAR_T], crop->x,
+ crop->y, crop->x+crop->w, crop->y+crop->h);
ref2->data[0] += crop->y * ref2->linesize[0];
ref2->data[0] += crop->x * crop->max_step[0];