From b0e37369a1e20f81d696d7a0f588e9acb8dbe87d Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Fri, 17 Apr 2009 13:07:18 +0000 Subject: [PATCH] Remove useless assignment in generate_codebook(). Found by Clang static analyser. Originally committed as revision 18549 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/roqvideoenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c index 8cca312f22..ecb56edb7f 100644 --- a/libavcodec/roqvideoenc.c +++ b/libavcodec/roqvideoenc.c @@ -796,7 +796,7 @@ static void generate_codebook(RoqContext *enc, RoqTempdata *tempdata, { int i, j, k; int c_size = size*size/4; - int *buf = points; + int *buf; int *codebook = av_malloc(6*c_size*cbsize*sizeof(int)); int *closest_cb;