diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 324abf70ce..f1c7b26dad 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -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;