diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-12-05 12:55:19 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-12-05 12:55:19 (GMT) |
commit | 724a95182911b28501e618c838ec251e4ec6fed5 (patch) | |
tree | 8a3bfdf0b8272af07c59398f96cf4dd1a5fa0163 | |
parent | 8127ab13a14930d6e7c606aa3140478da432d544 (diff) |
Set number of written frames when reading a frame set.
-rw-r--r-- | src/lib/tng_io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index 8550ec4..e9f3daa 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -3263,6 +3263,8 @@ static tng_function_status tng_frame_set_block_read tng_data->time_per_frame = -1; } + frame_set->n_written_frames = frame_set->n_frames; + return(TNG_SUCCESS); } |