comparison mov.c @ 4972:595e9bd313fd libavformat

return AVERROR_EOF
author bcoudurier
date Sat, 30 May 2009 06:15:27 +0000
parents 02e9151a011e
children 358aec79a573
comparison
equal deleted inserted replaced
4971:cffc8ed619e9 4972:595e9bd313fd
2023 if (!sample) { 2023 if (!sample) {
2024 mov->found_mdat = 0; 2024 mov->found_mdat = 0;
2025 if (!url_is_streamed(s->pb) || 2025 if (!url_is_streamed(s->pb) ||
2026 mov_read_default(mov, s->pb, (MOVAtom){ 0, 0, INT64_MAX }) < 0 || 2026 mov_read_default(mov, s->pb, (MOVAtom){ 0, 0, INT64_MAX }) < 0 ||
2027 url_feof(s->pb)) 2027 url_feof(s->pb))
2028 return -1; 2028 return AVERROR_EOF;
2029 dprintf(s, "read fragments, offset 0x%llx\n", url_ftell(s->pb)); 2029 dprintf(s, "read fragments, offset 0x%llx\n", url_ftell(s->pb));
2030 goto retry; 2030 goto retry;
2031 } 2031 }
2032 /* must be done just before reading, to avoid infinite loop on sample */ 2032 /* must be done just before reading, to avoid infinite loop on sample */
2033 sc->current_sample++; 2033 sc->current_sample++;