Commit 03dc32f6 authored by Baptiste Coudurier's avatar Baptiste Coudurier

cosmetics: func -> parse, remove useless parenthesis

Originally committed as revision 11239 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a4813b67
...@@ -138,7 +138,7 @@ typedef struct MOVContext { ...@@ -138,7 +138,7 @@ typedef struct MOVContext {
/* links atom IDs to parse functions */ /* links atom IDs to parse functions */
typedef struct MOVParseTableEntry { typedef struct MOVParseTableEntry {
uint32_t type; uint32_t type;
int (*func)(MOVContext *ctx, ByteIOContext *pb, MOV_atom_t atom); int (*parse)(MOVContext *ctx, ByteIOContext *pb, MOV_atom_t atom);
} MOVParseTableEntry; } MOVParseTableEntry;
static const MOVParseTableEntry mov_default_parse_table[]; static const MOVParseTableEntry mov_default_parse_table[];
...@@ -188,7 +188,7 @@ static int mov_read_default(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) ...@@ -188,7 +188,7 @@ static int mov_read_default(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
} else { } else {
offset_t start_pos = url_ftell(pb); offset_t start_pos = url_ftell(pb);
int64_t left; int64_t left;
err = (mov_default_parse_table[i].func)(c, pb, a); err = mov_default_parse_table[i].parse(c, pb, a);
if (c->found_moov && c->found_mdat) if (c->found_moov && c->found_mdat)
break; break;
left = a.size - url_ftell(pb) + start_pos; left = a.size - url_ftell(pb) + start_pos;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment