Dive pictures: use get_metadata() in dive_create_picture()

Thus, metadata has to be only read once and the picture_load_exif_data()
function can be removed.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-03-19 20:20:42 +01:00 committed by Lubomir I. Ivanov
parent 9b2482aca9
commit 66b71c60a0
3 changed files with 6 additions and 14 deletions

View file

@ -22,7 +22,6 @@ extern "C" {
enum mediatype_t get_metadata(const char *filename, struct metadata *data);
timestamp_t picture_get_timestamp(const char *filename);
void picture_load_exif_data(struct picture *p);
#ifdef __cplusplus
}