From dee466926ba145068ac04009ca8e1f27fea97653 Mon Sep 17 00:00:00 2001 From: James Zern Date: Wed, 25 Apr 2012 18:18:25 -0700 Subject: [PATCH] mux: remove unused LIST_ID The 'LIST' fourcc is not a well known value in the context of webp. Change-Id: I6a571f5f3acd6463cf3cad7c5d5ffa89d0597fb6 --- src/mux/muxi.h | 4 ++-- src/mux/muxinternal.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mux/muxi.h b/src/mux/muxi.h index a7423887..76ff2cbf 100644 --- a/src/mux/muxi.h +++ b/src/mux/muxi.h @@ -84,7 +84,7 @@ typedef enum { UNKNOWN_ID, NIL_ID, - LIST_ID + LAST_TAG_ID } TAG_ID; // Maximum chunk payload (data) size such that adding the header and padding @@ -103,7 +103,7 @@ typedef struct { uint32_t chunkSize; } ChunkInfo; -extern const ChunkInfo kChunks[LIST_ID + 1]; +extern const ChunkInfo kChunks[LAST_TAG_ID]; //------------------------------------------------------------------------------ // Helper functions. diff --git a/src/mux/muxinternal.c b/src/mux/muxinternal.c index 107d3f15..b6cfc3c8 100644 --- a/src/mux/muxinternal.c +++ b/src/mux/muxinternal.c @@ -31,7 +31,6 @@ const ChunkInfo kChunks[] = { {"unknown", mktag('U', 'N', 'K', 'N'), UNKNOWN_ID, UNDEFINED_CHUNK_SIZE}, {NULL, NIL_TAG, NIL_ID, UNDEFINED_CHUNK_SIZE}, - {"list", mktag('L', 'I', 'S', 'T'), LIST_ID, UNDEFINED_CHUNK_SIZE} }; //------------------------------------------------------------------------------