~ubuntu-branches/ubuntu/karmic/libimage-exiftool-perl/karmic

« back to all changes in this revision

Viewing changes to lib/Image/ExifTool/ASF.pm

  • Committer: Bazaar Package Importer
  • Author(s): Mari Wang
  • Date: 2008-02-04 20:32:53 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080204203253-mpbal8trlfe1fz5d
Tags: 7.00-1
* Upload of new production release (Closes: #456430)
* Added Recommends: libcompress-zlib-perl (Closes: #435589)
* Package now includes iptc2xmp.args and xmp2iptc.args, they are put
  into /usr/share/libimage-exiftool/ (Closes: #436100)
* Updated standards-version (3.7.2 -> 3.7.3). No changes needed.
* Lots of updates and bugfixes compared to last debian version
  (6.90).  See the Changes file for details
* Upload sponsored by Petter Reinholdtsen

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
use Image::ExifTool qw(:DataAccess :Utils);
16
16
use Image::ExifTool::Exif;
17
17
 
18
 
$VERSION = '1.04';
 
18
$VERSION = '1.05';
19
19
 
20
20
sub ProcessMetadata($$$);
21
21
sub ProcessContentDescription($$$);
862
862
            $rtnVal = 1;
863
863
        }
864
864
        my $size = Image::ExifTool::Get64u(\$buff, 16) - 24;
865
 
        if ($size > 0xffffffff) {
 
865
        if ($size < 0) {
 
866
            $err = 'Invalid ASF object size';
 
867
            last;
 
868
        }
 
869
        if ($size > 0x7fffffff) {
866
870
            $err = 'Large ASF objects not supported';
867
871
            last;
868
872
        }