comparison mov.c @ 2821:5a12b619e974 libavformat

remove useless declaration
author bcoudurier
date Sun, 16 Dec 2007 18:24:32 +0000
parents 95ce00ad6f3e
children bdb887c3e9e9
comparison
equal deleted inserted replaced
2820:95ce00ad6f3e 2821:5a12b619e974
133 /* return code: 133 /* return code:
134 1: found what I wanted, exit 134 1: found what I wanted, exit
135 0: continue to parse next atom 135 0: continue to parse next atom
136 -1: error occured, exit 136 -1: error occured, exit
137 */ 137 */
138 typedef int (*mov_parse_function)(MOVContext *ctx, ByteIOContext *pb, MOV_atom_t atom);
139
140 /* links atom IDs to parse functions */ 138 /* links atom IDs to parse functions */
141 typedef struct MOVParseTableEntry { 139 typedef struct MOVParseTableEntry {
142 uint32_t type; 140 uint32_t type;
143 mov_parse_function func; 141 int (*func)(MOVContext *ctx, ByteIOContext *pb, MOV_atom_t atom);
144 } MOVParseTableEntry; 142 } MOVParseTableEntry;
145 143
146 static const MOVParseTableEntry mov_default_parse_table[]; 144 static const MOVParseTableEntry mov_default_parse_table[];
147 145
148 static int mov_read_default(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) 146 static int mov_read_default(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)