Mercurial > libavformat.hg
comparison http.c @ 5008:370160e040d9 libavformat
Cosmetics : Fix indentation after last commit.
| author | jai_menon |
|---|---|
| date | Sat, 06 Jun 2009 16:46:40 +0000 |
| parents | 1d5f8836c8a8 |
| children | 822a36d7ac0a |
comparison
equal
deleted
inserted
replaced
| 5007:1d5f8836c8a8 | 5008:370160e040d9 |
|---|---|
| 277 /* wait for header */ | 277 /* wait for header */ |
| 278 for(;;) { | 278 for(;;) { |
| 279 if (http_get_line(s, line, sizeof(line)) < 0) | 279 if (http_get_line(s, line, sizeof(line)) < 0) |
| 280 return AVERROR(EIO); | 280 return AVERROR(EIO); |
| 281 #ifdef DEBUG | 281 #ifdef DEBUG |
| 282 printf("header='%s'\n", line); | 282 printf("header='%s'\n", line); |
| 283 #endif | 283 #endif |
| 284 err = process_line(h, line, s->line_count, new_location); | 284 err = process_line(h, line, s->line_count, new_location); |
| 285 if (err < 0) | 285 if (err < 0) |
| 286 return err; | 286 return err; |
| 287 if (err == 0) | 287 if (err == 0) |
| 288 break; | 288 break; |
| 289 s->line_count++; | 289 s->line_count++; |
| 290 } | 290 } |
| 291 | 291 |
| 292 return (off == s->off) ? 0 : -1; | 292 return (off == s->off) ? 0 : -1; |
| 293 } | 293 } |
| 294 | 294 |
