Commit c1071605 authored by bcoudurier's avatar bcoudurier

useless 0L here

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11243 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cab37ba5
...@@ -153,7 +153,7 @@ static int mov_read_default(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) ...@@ -153,7 +153,7 @@ static int mov_read_default(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
atom.size = INT64_MAX; atom.size = INT64_MAX;
while(((total_size + 8) < atom.size) && !url_feof(pb) && !err) { while(((total_size + 8) < atom.size) && !url_feof(pb) && !err) {
a.size = atom.size; a.size = atom.size;
a.type=0L; a.type=0;
if(atom.size >= 8) { if(atom.size >= 8) {
a.size = get_be32(pb); a.size = get_be32(pb);
a.type = get_le32(pb); a.type = get_le32(pb);
...@@ -176,7 +176,7 @@ static int mov_read_default(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) ...@@ -176,7 +176,7 @@ static int mov_read_default(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
break; break;
a.size = FFMIN(a.size, atom.size - total_size); 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++) && mov_default_parse_table[i].type != a.type; i++)
/* empty */; /* empty */;
...@@ -1252,7 +1252,7 @@ static const MOVParseTableEntry mov_default_parse_table[] = { ...@@ -1252,7 +1252,7 @@ static const MOVParseTableEntry mov_default_parse_table[] = {
{ MKTAG( 'e', 's', 'd', 's' ), mov_read_esds }, { MKTAG( 'e', 's', 'd', 's' ), mov_read_esds },
{ MKTAG( 'w', 'i', 'd', 'e' ), mov_read_wide }, /* place holder */ { MKTAG( 'w', 'i', 'd', 'e' ), mov_read_wide }, /* place holder */
{ MKTAG( 'c', 'm', 'o', 'v' ), mov_read_cmov }, { MKTAG( 'c', 'm', 'o', 'v' ), mov_read_cmov },
{ 0L, NULL } { 0, NULL }
}; };
/* XXX: is it sufficient ? */ /* XXX: is it sufficient ? */
......
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