From d94e9bfa02bc1ee2f0e14132ea9f5f9d2689c757 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 19 Aug 2020 12:27:18 +0200 Subject: Make Stream responsible for its own DataTemplate It makes no sense for a different DataTemplate to be used for every frame in a stream. And this way makes everything much easier for users ot the API. --- src/cell_explorer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cell_explorer.c') diff --git a/src/cell_explorer.c b/src/cell_explorer.c index 2eec4a19..84a8aa16 100644 --- a/src/cell_explorer.c +++ b/src/cell_explorer.c @@ -2002,7 +2002,7 @@ int main(int argc, char *argv[]) struct image *image; int i; - image = stream_read_chunk(st, NULL, STREAM_UNITCELL); + image = stream_read_chunk(st, STREAM_UNITCELL); if ( image == NULL ) break; for ( i=0; in_crystals; i++ ) { -- cgit v1.2.3