Mercurial > libavformat.hg
changeset 2822:bdb887c3e9e9 libavformat
cosmetics: func -> parse, remove useless parenthesis
author | bcoudurier |
---|---|
date | Sun, 16 Dec 2007 18:26:34 +0000 |
parents | 5a12b619e974 |
children | 3f15b52fe817 |
files | mov.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Sun Dec 16 18:24:32 2007 +0000 +++ b/mov.c Sun Dec 16 18:26:34 2007 +0000 @@ -138,7 +138,7 @@ /* links atom IDs to parse functions */ typedef struct MOVParseTableEntry { uint32_t type; - int (*func)(MOVContext *ctx, ByteIOContext *pb, MOV_atom_t atom); + int (*parse)(MOVContext *ctx, ByteIOContext *pb, MOV_atom_t atom); } MOVParseTableEntry; static const MOVParseTableEntry mov_default_parse_table[]; @@ -188,7 +188,7 @@ } else { offset_t start_pos = url_ftell(pb); 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) break; left = a.size - url_ftell(pb) + start_pos;