[FFmpeg-cvslog] drawtext: remove typo

Luca Barbato git at videolan.org
Thu Dec 8 00:31:49 CET 2011


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Wed Dec  7 20:30:55 2011 +0100| [78212cefe14a2086dc1ea3778b76623b949e5d0c] | committer: Luca Barbato

drawtext: remove typo

It slipped through the last two iterations.

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

 libavfilter/vf_drawtext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index 87c8d8f..060c3a4 100644
--- a/libavfilter/vf_drawtext.c
+++ b/libavfilter/vf_drawtext.c
@@ -70,7 +70,7 @@ static const char *fun2_names[] = {
 
 static double drand(void *opaque, double min, double max)
 {
-    return val = min + (max-min) / UINT_MAX * av_lfg_get(opaque);
+    return min + (max-min) / UINT_MAX * av_lfg_get(opaque);
 }
 
 typedef double (*eval_func2)(void *, double a, double b);



More information about the ffmpeg-cvslog mailing list