projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wrong port
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_replay.c
diff --git
a/player_replay.c
b/player_replay.c
index cd947dd9ca8b1f204ce76402b4367ccce4abeb96..04650b73b81ed05d2de6de8ea482cad313553abe 100644
(file)
--- a/
player_replay.c
+++ b/
player_replay.c
@@
-64,16
+64,9
@@
static replay_frame *replay_newframe( replay_buffer *replay,
replay_frame *frame = NULL;
if( replay->head ){
replay_frame *frame = NULL;
if( replay->head ){
- assert( replay->head );
-
u32 headsize = replay->head->total_size,
nextpos = ((void *)replay->head - replay->data) + headsize;
u32 headsize = replay->head->total_size,
nextpos = ((void *)replay->head - replay->data) + headsize;
- if( nextsize > replay->size ){
- vg_error( "Keyframe too big\n" );
- return NULL;
- }
-
if( nextpos + nextsize > replay->size ){
nextpos = 0;
if( nextpos + nextsize > replay->size ){
nextpos = 0;