summaryrefslogtreecommitdiff
authorPaul B Mahol <onemda@gmail.com>2013-10-07 08:40:17 (GMT)
committer Paul B Mahol <onemda@gmail.com>2013-10-07 08:40:17 (GMT)
commitad934bc353b22ed80276039a4adf9633949b6d2c (patch)
treeef69c588a714c3d210818c012f4c61df5fc3b95a
parentce26a016cd34be2518a893ceb56dd658f0cc881c (diff)
downloadffmpeg-ad934bc353b22ed80276039a4adf9633949b6d2c.zip
ffmpeg-ad934bc353b22ed80276039a4adf9633949b6d2c.tar.gz
ffmpeg-ad934bc353b22ed80276039a4adf9633949b6d2c.tar.bz2
avfilter/vf_drawtext: remove dead initialization
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat
-rw-r--r--libavfilter/vf_drawtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index 324abf7..f1c7b26 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;