Branch: Tag:

2004-03-10

2004-03-10 00:17:08 by Martin Nilsson <mani@lysator.liu.se>

Hide the fact that some sub tags bugs out. Our fault or error in the tag?

Rev: lib/modules/Standards.pmod/EXIF.pmod:1.20

3:   //! This module implements EXIF (Exchangeable image file format for   //! Digital Still Cameras) 2.2 parsing.    - // $Id: EXIF.pmod,v 1.19 2003/06/08 08:20:55 mirar Exp $ + // $Id: EXIF.pmod,v 1.20 2004/03/10 00:17:08 nilsson Exp $   // Johan Schön <js@roxen.com>, July 2001.   // Based on Exiftool by Robert F. Tobler <rft@cg.tuwien.ac.at>.   //
870:    else if(tag_format == "TAGS")    {    int num_entries=short_value(file->read(2), order); -  for(int i=0; i<num_entries; i++) +  for(int i=0; i<num_entries; i++) { +  catch { +  // This catch hides a probable bug in the parser.    tags|=parse_tag(file, tags, tag_map, exif_offset, order); -  +  };    } -  +  }    else    {    string str=file->read(tag_count);