Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-camogm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-camogm
Commits
84ebd545
Commit
84ebd545
authored
8 years ago
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incorrect mapping of splitted frame
parent
86dd9391
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
camogm_align.c
src/camogm_align.c
+2
-2
No files found.
src/camogm_align.c
View file @
84ebd545
...
...
@@ -126,8 +126,8 @@ static void remap_vectors(camogm_state *state, struct iovec *chunks)
chunks
[
CHUNK_DATA_0
].
iov_base
=
(
void
*
)
state
->
packetchunks
[
chunk_index
].
chunk
;
chunks
[
CHUNK_DATA_0
].
iov_len
=
state
->
packetchunks
[
chunk_index
++
].
bytes
;
if
(
state
->
writer_params
.
segments
==
2
)
{
chunks
[
CHUNK_DATA_
0
].
iov_base
=
(
void
*
)
state
->
packetchunks
[
chunk_index
].
chunk
;
chunks
[
CHUNK_DATA_
0
].
iov_len
=
state
->
packetchunks
[
chunk_index
++
].
bytes
;
chunks
[
CHUNK_DATA_
1
].
iov_base
=
(
void
*
)
state
->
packetchunks
[
chunk_index
].
chunk
;
chunks
[
CHUNK_DATA_
1
].
iov_len
=
state
->
packetchunks
[
chunk_index
++
].
bytes
;
}
chunks
[
CHUNK_TRAILER
].
iov_base
=
(
void
*
)
state
->
packetchunks
[
chunk_index
].
chunk
;
chunks
[
CHUNK_TRAILER
].
iov_len
=
state
->
packetchunks
[
chunk_index
].
bytes
;
...
...
This diff is collapsed.
Click to expand it.
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