Originally committed as revision 19125 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jai Menon authored on 2009/06/07 01:46:40... | ... |
@@ -279,14 +279,14 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr, |
279 | 279 |
if (http_get_line(s, line, sizeof(line)) < 0) |
280 | 280 |
return AVERROR(EIO); |
281 | 281 |
#ifdef DEBUG |
282 |
- printf("header='%s'\n", line); |
|
282 |
+ printf("header='%s'\n", line); |
|
283 | 283 |
#endif |
284 |
- err = process_line(h, line, s->line_count, new_location); |
|
285 |
- if (err < 0) |
|
286 |
- return err; |
|
287 |
- if (err == 0) |
|
288 |
- break; |
|
289 |
- s->line_count++; |
|
284 |
+ err = process_line(h, line, s->line_count, new_location); |
|
285 |
+ if (err < 0) |
|
286 |
+ return err; |
|
287 |
+ if (err == 0) |
|
288 |
+ break; |
|
289 |
+ s->line_count++; |
|
290 | 290 |
} |
291 | 291 |
|
292 | 292 |
return (off == s->off) ? 0 : -1; |