changeset 9460:12c8d0e11f39 libavcodec

Remove useless assignment in generate_codebook(). Found by Clang static analyser.
author vitor
date Fri, 17 Apr 2009 13:07:18 +0000
parents 84932ac233a5
children 72d9eee542c8
files roqvideoenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/roqvideoenc.c	Fri Apr 17 13:03:56 2009 +0000
+++ b/roqvideoenc.c	Fri Apr 17 13:07:18 2009 +0000
@@ -796,7 +796,7 @@
 {
     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;