Revision 66e5b1df libavformat/msnwc_tcp.c
libavformat/msnwc_tcp.c | ||
---|---|---|
88 | 88 |
|
89 | 89 |
/* Some files start with "connected\r\n\r\n". |
90 | 90 |
* So skip until we find the first byte of struct size */ |
91 |
while(avio_r8(pb) != HEADER_SIZE && !url_feof(pb));
|
|
91 |
while(avio_r8(pb) != HEADER_SIZE && !pb->eof_reached);
|
|
92 | 92 |
|
93 |
if(url_feof(pb)) {
|
|
93 |
if(pb->eof_reached) {
|
|
94 | 94 |
av_log(ctx, AV_LOG_ERROR, "Could not find valid start."); |
95 | 95 |
return -1; |
96 | 96 |
} |
Also available in: Unified diff