summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-12-16 18:26:34 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-12-16 18:26:34 +0000
commit03dc32f689efaac92f2824b823782ecd0b480151 (patch)
tree3f8b48842d54ad0f9ca49c0a39778cce81bde14d /libavformat/mov.c
parenta4813b671a8c662cfbace6c38fab03e2335e947b (diff)
cosmetics: func -> parse, remove useless parenthesis
Originally committed as revision 11239 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 6b1db6a830..5bcd953fcd 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -138,7 +138,7 @@ typedef struct MOVContext {
/* 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 @@ static int mov_read_default(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
} 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;