Mercurial > libavformat.hg
comparison mov.c @ 1730:05e2cabcd8ed libavformat
remove useless field
author | bcoudurier |
---|---|
date | Wed, 24 Jan 2007 10:57:38 +0000 |
parents | 94580a2253ff |
children | d416ac2a3ce4 |
comparison
equal
deleted
inserted
replaced
1729:94580a2253ff | 1730:05e2cabcd8ed |
---|---|
269 AVFormatContext *fc; | 269 AVFormatContext *fc; |
270 int time_scale; | 270 int time_scale; |
271 int64_t duration; /* duration of the longest track */ | 271 int64_t duration; /* duration of the longest track */ |
272 int found_moov; /* when both 'moov' and 'mdat' sections has been found */ | 272 int found_moov; /* when both 'moov' and 'mdat' sections has been found */ |
273 int found_mdat; /* we suppose we have enough data to read the file */ | 273 int found_mdat; /* we suppose we have enough data to read the file */ |
274 int64_t mdat_size; | |
275 int64_t mdat_offset; | 274 int64_t mdat_offset; |
276 int total_streams; | 275 int total_streams; |
277 MOVStreamContext *streams[MAX_STREAMS]; | 276 MOVStreamContext *streams[MAX_STREAMS]; |
278 | 277 |
279 int ctab_size; | 278 int ctab_size; |
503 c->mdat_list[c->mdat_count].offset = atom.offset; | 502 c->mdat_list[c->mdat_count].offset = atom.offset; |
504 c->mdat_list[c->mdat_count].size = atom.size; | 503 c->mdat_list[c->mdat_count].size = atom.size; |
505 c->mdat_count++; | 504 c->mdat_count++; |
506 c->found_mdat=1; | 505 c->found_mdat=1; |
507 c->mdat_offset = atom.offset; | 506 c->mdat_offset = atom.offset; |
508 c->mdat_size = atom.size; | |
509 if(c->found_moov) | 507 if(c->found_moov) |
510 return 1; /* found both, just go */ | 508 return 1; /* found both, just go */ |
511 url_fskip(pb, atom.size); | 509 url_fskip(pb, atom.size); |
512 return 0; /* now go for moov */ | 510 return 0; /* now go for moov */ |
513 } | 511 } |