mirror of https://git.ffmpeg.org/ffmpeg.git
cosmetics: func -> parse, remove useless parenthesis
Originally committed as revision 11239 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a4813b671a
commit
03dc32f689
|
@ -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)
|
||||||
} 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;
|
||||||
|
|
Loading…
Reference in New Issue