From ac5a9156b1af58381f8c22c8e1f549d34d4eefa6 Mon Sep 17 00:00:00 2001 From: Urvang Joshi Date: Fri, 22 Feb 2013 15:13:10 -0800 Subject: [PATCH] Update code example in README.mux As per changes in code example in demux.h Change-Id: Idb63e854dc2668ba35517ed9622195a12b6942d7 --- README.mux | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.mux b/README.mux index 7fde14de..8bcdea66 100644 --- a/README.mux +++ b/README.mux @@ -174,8 +174,10 @@ and EXIF/XMP metadata. WebPChunkIterator chunk_iter; if (flags & ICCP_FLAG) WebPDemuxGetChunk(demux, "ICCP", 1, &chunk_iter); // ... (Consume the ICC profile in 'chunk_iter.chunk'). + WebPDemuxReleaseChunkIterator(&chunk_iter); if (flags & EXIF_FLAG) WebPDemuxGetChunk(demux, "EXIF", 1, &chunk_iter); // ... (Consume the EXIF metadata in 'chunk_iter.chunk'). + WebPDemuxReleaseChunkIterator(&chunk_iter); if (flags & XMP_FLAG) WebPDemuxGetChunk(demux, "XMP ", 1, &chunk_iter); // ... (Consume the XMP metadata in 'chunk_iter.chunk'). WebPDemuxReleaseChunkIterator(&chunk_iter);