Mercurial > libavformat.hg
changeset 2826:24ad70087e67 libavformat
useless 0L here
author | bcoudurier |
---|---|
date | Sun, 16 Dec 2007 18:51:00 +0000 |
parents | 5862d8be4c6e |
children | f717dd23fc23 |
files | mov.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 ? */