Remove unused variable from slice_buffer_release() found by CSA.

Originally committed as revision 18570 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Michael Niedermayer 16 years ago
parent 44c9efcb57
commit 29322398fc
  1. 2
      libavcodec/snow.c

@ -542,13 +542,11 @@ static IDWTELEM * slice_buffer_load_line(slice_buffer * buf, int line)
static void slice_buffer_release(slice_buffer * buf, int line) static void slice_buffer_release(slice_buffer * buf, int line)
{ {
int offset;
IDWTELEM * buffer; IDWTELEM * buffer;
assert(line >= 0 && line < buf->line_count); assert(line >= 0 && line < buf->line_count);
assert(buf->line[line]); assert(buf->line[line]);
offset = buf->line_width * line;
buffer = buf->line[line]; buffer = buf->line[line];
buf->data_stack_top++; buf->data_stack_top++;
buf->data_stack[buf->data_stack_top] = buffer; buf->data_stack[buf->data_stack_top] = buffer;

Loading…
Cancel
Save