Revision 66e5b1df libavformat/dxa.c
libavformat/dxa.c | ||
---|---|---|
104 | 104 |
return -1; |
105 | 105 |
ff_get_wav_header(pb, ast->codec, fsize); |
106 | 106 |
// find 'data' chunk |
107 |
while(avio_tell(pb) < c->vidpos && !url_feof(pb)){
|
|
107 |
while(avio_tell(pb) < c->vidpos && !pb->eof_reached){
|
|
108 | 108 |
tag = avio_rl32(pb); |
109 | 109 |
fsize = avio_rl32(pb); |
110 | 110 |
if(tag == MKTAG('d', 'a', 't', 'a')) break; |
... | ... | |
162 | 162 |
return 0; |
163 | 163 |
} |
164 | 164 |
avio_seek(s->pb, c->vidpos, SEEK_SET); |
165 |
while(!url_feof(s->pb) && c->frames){
|
|
165 |
while(!s->pb->eof_reached && c->frames){
|
|
166 | 166 |
avio_read(s->pb, buf, 4); |
167 | 167 |
switch(AV_RL32(buf)){ |
168 | 168 |
case MKTAG('N', 'U', 'L', 'L'): |
Also available in: Unified diff