Commit f658f83a authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

probably a typo

parent 99072120
...@@ -336,8 +336,7 @@ void align_frame(camogm_state *state) ...@@ -336,8 +336,7 @@ void align_frame(camogm_state *state)
vectshrink(&chunks[CHUNK_EXIF], chunks[CHUNK_EXIF].iov_len); vectshrink(&chunks[CHUNK_EXIF], chunks[CHUNK_EXIF].iov_len);
} }
if (chunks[CHUNK_HEADER].iov_len != 0){ // only if it is not TIFF
if (chunks[CHUNK_LEADER].iov_len != 0){ // only if it is not TIFF
/* align common buffer to ALIGNMENT boundary, APP15 marker should be placed before header data */ /* align common buffer to ALIGNMENT boundary, APP15 marker should be placed before header data */
data_len = cbuff->iov_len + chunks[CHUNK_HEADER].iov_len; data_len = cbuff->iov_len + chunks[CHUNK_HEADER].iov_len;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment