[FFmpeg-cvslog] avfilter/vf_drawtext: remove dead initialization

Paul B Mahol git at videolan.org
Mon Oct 7 10:41:47 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Oct  7 08:40:17 2013 +0000| [ad934bc353b22ed80276039a4adf9633949b6d2c] | committer: Paul B Mahol

avfilter/vf_drawtext: remove dead initialization

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad934bc353b22ed80276039a4adf9633949b6d2c
---

 libavfilter/vf_drawtext.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;



More information about the ffmpeg-cvslog mailing list