Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xvba-video
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
xvba-video
Commits
d50d89d0
Commit
d50d89d0
authored
Apr 23, 2012
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indentation.
parent
f4c07e77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/object_heap.c
src/object_heap.c
+2
-2
No files found.
src/object_heap.c
View file @
d50d89d0
...
@@ -131,8 +131,8 @@ object_base_p object_heap_lookup( object_heap_p heap, int id )
...
@@ -131,8 +131,8 @@ object_base_p object_heap_lookup( object_heap_p heap, int id )
id
-=
heap
->
id_offset
;
id
-=
heap
->
id_offset
;
obj
=
(
object_base_p
)
(
heap
->
heap_index
+
id
*
heap
->
object_size
);
obj
=
(
object_base_p
)
(
heap
->
heap_index
+
id
*
heap
->
object_size
);
/* Check if the object has in fact been allocated */
/* Check if the object has in fact been allocated */
if
(
obj
->
next_free
!=
ALLOCATED
)
if
(
obj
->
next_free
!=
ALLOCATED
)
{
{
return
NULL
;
return
NULL
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment