]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_crop.c
vf_drawtext: Move static keyword to beginning of variable declaration
[ffmpeg] / libavfilter / vf_crop.c
index 1aa84662243862b1ab23068621ad281d2a2b3c58..4122d52f889b190e6bac14892d8be0ddf91fd1f9 100644 (file)
@@ -68,7 +68,7 @@ enum var_name {
     VAR_VARS_NB
 };
 
-typedef struct {
+typedef struct CropContext {
     const AVClass *class;
     int  x;             ///< x offset of the non-cropped area with respect to the input area
     int  y;             ///< y offset of the non-cropped area with respect to the input area
@@ -265,7 +265,7 @@ static int filter_frame(AVFilterLink *link, AVFrame *frame)
     s->x &= ~((1 << s->hsub) - 1);
     s->y &= ~((1 << s->vsub) - 1);
 
-    av_dlog(ctx, "n:%d t:%f x:%d y:%d x+w:%d y+h:%d\n",
+    av_log(ctx, AV_LOG_TRACE, "n:%d t:%f x:%d y:%d x+w:%d y+h:%d\n",
             (int)s->var_values[VAR_N], s->var_values[VAR_T], s->x,
             s->y, s->x+s->w, s->y+s->h);