Revision a20a37e6 libavformat/mov.c

View differences:

libavformat/mov.c
271 271
    int64_t duration; /* duration of the longest track */
272 272
    int found_moov; /* when both 'moov' and 'mdat' sections has been found */
273 273
    int found_mdat; /* we suppose we have enough data to read the file */
274
    int64_t mdat_size;
275 274
    int64_t mdat_offset;
276 275
    int total_streams;
277 276
    MOVStreamContext *streams[MAX_STREAMS];
......
505 504
    c->mdat_count++;
506 505
    c->found_mdat=1;
507 506
    c->mdat_offset = atom.offset;
508
    c->mdat_size = atom.size;
509 507
    if(c->found_moov)
510 508
        return 1; /* found both, just go */
511 509
    url_fskip(pb, atom.size);

Also available in: Unified diff