int i;
static DWTELEM * slice_buffer_load_line(slice_buffer * buf, int line){    int i;    int offset;    DWTELEM * buffer;  //  av_log(NULL, AV_LOG_DEBUG, "Cache hit: %d\n", line);        assert(buf->data_stack_top >= 0);//  assert(!buf->line[line]);    if (buf->line[line])        return buf->line[line];        offset = buf->line_width * line;    buffer = buf->data_stack[buf->data_stack_top];    buf->data_stack_top--;    buf->line[line] = buffer;  //  av_log(NULL, AV_LOG_DEBUG, "slice_buffer_load_line: line: %d remaining: %d\n", line, buf->data_stack_top + 1);      return buffer;}