# HG changeset patch # User bcoudurier # Date 1197831060 0 # Node ID 24ad70087e67c2a3085d5b9ec30f8a3c1f29b687 # Parent 5862d8be4c6e8eed9e3e8daf425a5ce889e36398 useless 0L here diff -r 5862d8be4c6e -r 24ad70087e67 mov.c --- a/mov.c Sun Dec 16 18:46:57 2007 +0000 +++ b/mov.c Sun Dec 16 18:51:00 2007 +0000 @@ -153,7 +153,7 @@ 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 @@ 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 @@ { 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 ? */