Revision 66e5b1df libavformat/wav.c
libavformat/wav.c | ||
---|---|---|
155 | 155 |
int64_t size; |
156 | 156 |
|
157 | 157 |
for (;;) { |
158 |
if (url_feof(pb))
|
|
158 |
if (pb->eof_reached)
|
|
159 | 159 |
return -1; |
160 | 160 |
size = next_tag(pb, &tag); |
161 | 161 |
if (tag == tag1) |
... | ... | |
234 | 234 |
av_set_pts_info(st, 64, 1, st->codec->sample_rate); |
235 | 235 |
|
236 | 236 |
for (;;) { |
237 |
if (url_feof(pb))
|
|
237 |
if (pb->eof_reached)
|
|
238 | 238 |
return -1; |
239 | 239 |
size = next_tag(pb, &tag); |
240 | 240 |
if (tag == MKTAG('d', 'a', 't', 'a')){ |
... | ... | |
269 | 269 |
uint8_t guid[16]; |
270 | 270 |
int64_t size; |
271 | 271 |
|
272 |
while (!url_feof(pb)) {
|
|
272 |
while (!pb->eof_reached) {
|
|
273 | 273 |
avio_read(pb, guid, 16); |
274 | 274 |
size = avio_rl64(pb); |
275 | 275 |
if (size <= 24) |
Also available in: Unified diff