aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-05-25 15:01:58 +0200
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commitaab8403884c4731f7365796de8f53315f4a61616 (patch)
tree6a7bc45b52c7943220c71de07caba9c681b2567d /src/process_image.c
parent23ea67dc03ac19f7a1457ecfdc8d5ee9cac68632 (diff)
Get rid of imagefile_field_list and stuff_from_stream
The only place this is used is in geoptimiser, to get the average_camera_length, itself a very bad solution.
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process_image.c b/src/process_image.c
index bca2a7f2..60e3edbc 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -201,7 +201,8 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
image = file_wait_open_read(pargs->filename, pargs->event,
iargs->dtempl,
sb_shared, taccs, last_task,
- iargs->wait_for_file, cookie);
+ iargs->wait_for_file,
+ cookie);
if ( image == NULL ) {
if ( iargs->wait_for_file != 0 ) {
pthread_mutex_lock(&sb_shared->totals_lock);
@@ -213,7 +214,6 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
}
image->serial = serial;
- image->copyme = iargs->copyme;
/* Take snapshot of image before applying horrible noise filters */
time_accounts_set(taccs, TACC_FILTER);