aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/stream.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/stream.c b/src/stream.c
index bb25686e..af92fc14 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -341,10 +341,7 @@ int read_chunk(FILE *fh, struct image *image)
}
if ( strncmp(line, "camera_length_", 14) == 0 ) {
- if ( image->det == NULL ) {
- ERROR("Stream had a camera length, but "
- "geometry is not currently loaded.\n");
- } else {
+ if ( image->det != NULL ) {
int k;
char name[1024];