From 4f2db55e29380a3b4279c09a978b16d86e96d392 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 31 Jan 2008 17:20:41 +0000 Subject: ext/metadata/metadataparsejpeg.c: Fix compilation. Original commit message from CVS: * ext/metadata/metadataparsejpeg.c: (metadataparse_jpeg_reading): Fix compilation. --- ChangeLog | 5 +++++ ext/metadata/metadataparsejpeg.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0fbc9dc4..f2ed7780 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-31 Wim Taymans + + * ext/metadata/metadataparsejpeg.c: (metadataparse_jpeg_reading): + Fix compilation. + 2008-01-31 Wim Taymans * gst-libs/gst/app/gstappsink.c: (gst_app_sink_dispose): diff --git a/ext/metadata/metadataparsejpeg.c b/ext/metadata/metadataparsejpeg.c index f716d778..480de563 100644 --- a/ext/metadata/metadataparsejpeg.c +++ b/ext/metadata/metadataparsejpeg.c @@ -383,7 +383,9 @@ metadataparse_jpeg_reading (JpegParseData * jpeg_data, guint8 ** buf, static const char JfifHeader[] = "JFIF"; static const unsigned char ExifHeader[] = { 0x45, 0x78, 0x69, 0x66, 0x00, 0x00 }; +#ifdef HAVE_IPTC static const char PhotoshopHeader[] = "Photoshop 3.0"; +#endif static const char XmpHeader[] = "http://ns.adobe.com/xap/1.0/"; *next_start = *buf; -- cgit v1.2.1