OSDN Git Service

avfilter/vf_drawtext: remove dead initialization
authorPaul B Mahol <onemda@gmail.com>
Mon, 7 Oct 2013 08:40:17 +0000 (08:40 +0000)
committerPaul B Mahol <onemda@gmail.com>
Mon, 7 Oct 2013 08:40:17 +0000 (08:40 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_drawtext.c

index 324abf7..f1c7b26 100644 (file)
@@ -854,7 +854,7 @@ static int draw_text(AVFilterContext *ctx, AVFrame *frame,
     int x = 0, y = 0, i = 0, ret;
     int max_text_line_w = 0, len;
     int box_w, box_h;
-    char *text = s->text;
+    char *text;
     uint8_t *p;
     int y_min = 32000, y_max = -32000;
     int x_min = 32000, x_max = -32000;