[FFmpeg-cvslog] r18549 - trunk/libavcodec/roqvideoenc.c

vitor subversion
Fri Apr 17 15:07:18 CEST 2009


Author: vitor
Date: Fri Apr 17 15:07:18 2009
New Revision: 18549

Log:
Remove useless assignement in generate_codebook(). Found by Clang static 
analyser.

Modified:
   trunk/libavcodec/roqvideoenc.c

Modified: trunk/libavcodec/roqvideoenc.c
==============================================================================
--- trunk/libavcodec/roqvideoenc.c	Fri Apr 17 15:03:56 2009	(r18548)
+++ trunk/libavcodec/roqvideoenc.c	Fri Apr 17 15:07:18 2009	(r18549)
@@ -796,7 +796,7 @@ static void generate_codebook(RoqContext
 {
     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;
 



More information about the ffmpeg-cvslog mailing list