[PATCH 3/5] cosmetics for http_connect
Peter Holik
peter
Mon Jun 1 19:12:32 CEST 2009
Signed-off-by: Peter Holik <peter at holik.at>
---
libavformat/http.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/libavformat/http.c b/libavformat/http.c
index f8c44ce..68efbf9 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -279,14 +279,14 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr,
if (http_get_line(s, line, sizeof(line)) < 0)
return AVERROR(EIO);
#ifdef DEBUG
- printf("header='%s'\n", line);
+ printf("header='%s'\n", line);
#endif
- err = process_line(h, line, s->line_count, new_location);
- if (err < 0)
- return err;
- if (err == 0)
- break;
- s->line_count++;
+ err = process_line(h, line, s->line_count, new_location);
+ if (err < 0)
+ return err;
+ if (err == 0)
+ break;
+ s->line_count++;
}
return (off == s->off) ? 0 : -1;
--
1.6.3.1
------=_20090601194625_76390
Content-Type: text/x-patch; name="0004-cosmetics-printf-to-av_log.patch"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment;
filename="0004-cosmetics-printf-to-av_log.patch"
More information about the ffmpeg-devel
mailing list