Remove useless assignment in generate_codebook(). Found by Clang static analyser.

Originally committed as revision 18549 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Vitor Sessak 16 years ago
parent 806d5e61dc
commit b0e37369a1
  1. 2
      libavcodec/roqvideoenc.c

@ -796,7 +796,7 @@ static void generate_codebook(RoqContext *enc, RoqTempdata *tempdata,
{ {
int i, j, k; int i, j, k;
int c_size = size*size/4; int c_size = size*size/4;
int *buf = points; int *buf;
int *codebook = av_malloc(6*c_size*cbsize*sizeof(int)); int *codebook = av_malloc(6*c_size*cbsize*sizeof(int));
int *closest_cb; int *closest_cb;

Loading…
Cancel
Save