Commit b0e37369 authored by Vitor Sessak's avatar Vitor Sessak

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

Originally committed as revision 18549 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 806d5e61
...@@ -796,7 +796,7 @@ static void generate_codebook(RoqContext *enc, RoqTempdata *tempdata, ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment