~ubuntu-branches/ubuntu/natty/libextractor/natty

« back to all changes in this revision

Viewing changes to src/plugins/gifextractor.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-11-17 20:27:32 UTC
  • mfrom: (1.10.4 upstream) (5.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20091117202732-ipm2h3gks5bdw2vx
Tags: 0.5.23+dfsg-3
* Building against libltdl7.
* Updating to standards version 3.8.3.
* Adding maintainer homepage field to control.
* Marking maintainer homepage field to be also included in binary
  packages and changelog.
* Adding README.source.
* Simplifying autotools handling in rules.
* Updating README.source.
* Moving maintainer homepage field from control to copyright.
* Dropping la files.
* Simplyfing debhelper install files.
* Bumping versioned build-depends on debhelper.
* Adding depends to dpkg install info.

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
 
202
202
  if (size < GIF_HEADER_SIZE)
203
203
    return prev;
204
 
  cat_unpack (data, GIF_HEADER_SPEC, GIF_HEADER_FIELDS (&header));
 
204
  EXTRACTOR_common_cat_unpack (data, GIF_HEADER_SPEC, GIF_HEADER_FIELDS (&header));
205
205
  if (0 != strncmp (&header.gif[0], "GIF", 3))
206
206
    return prev;
207
207
  if (0 != strncmp (&header.version[0], "89a", 3))
222
222
        {
223
223
        case ',':              /* image descriptor block */
224
224
          PRINT ("skipping local color map %d\n", pos);
225
 
          cat_unpack (&data[pos],
 
225
          EXTRACTOR_common_cat_unpack (&data[pos],
226
226
                      GIF_DESCRIPTOR_SPEC, GIF_DESCRIPTOR_FIELDS (&gd));
227
227
          pos = skipLocalColorMap (data, pos, size, &gd);
228
228
          break;