diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-12-16 18:51:00 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-12-16 18:51:00 +0000 |
commit | bcfe2ba02cf5c7c40882868cd665d9697bc1e3ee (patch) | |
tree | 891c4c995e8457b1d9412cacbc81b3406e60571c /libavformat/mov.c | |
parent | 282b65ccfff3a2b6f3e9aa28e850530f3bdc7b6c (diff) | |
download | ffmpeg-bcfe2ba02cf5c7c40882868cd665d9697bc1e3ee.tar.gz |
useless 0L here
Originally committed as revision 11243 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 4405dcb5d2..7e7140b4c3 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -153,7 +153,7 @@ static int mov_read_default(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) atom.size = INT64_MAX; while(((total_size + 8) < atom.size) && !url_feof(pb) && !err) { a.size = atom.size; - a.type=0L; + a.type=0; if(atom.size >= 8) { a.size = get_be32(pb); a.type = get_le32(pb); @@ -176,7 +176,7 @@ static int mov_read_default(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) break; a.size = FFMIN(a.size, atom.size - total_size); - for (i = 0; mov_default_parse_table[i].type != 0L + for (i = 0; mov_default_parse_table[i].type != 0 && mov_default_parse_table[i].type != a.type; i++) /* empty */; @@ -1252,7 +1252,7 @@ static const MOVParseTableEntry mov_default_parse_table[] = { { MKTAG( 'e', 's', 'd', 's' ), mov_read_esds }, { MKTAG( 'w', 'i', 'd', 'e' ), mov_read_wide }, /* place holder */ { MKTAG( 'c', 'm', 'o', 'v' ), mov_read_cmov }, -{ 0L, NULL } +{ 0, NULL } }; /* XXX: is it sufficient ? */ |