diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-10 20:46:00 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-14 20:44:15 +0200 |
commit | 56193d33be93669f948ccd68ea2451fb24b91245 (patch) | |
tree | afa4ef8da65a4de7c9af81defb4e4686b5cf151f /libavformat | |
parent | 973de9ebf8796bc2720a9959a9a535cf4023c58a (diff) | |
download | ffmpeg-56193d33be93669f948ccd68ea2451fb24b91245.tar.gz |
avformat/http: remove never twice executable loop
Fixes CID1197069
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/http.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/http.c b/libavformat/http.c index 64ca4ae548..3e172e3645 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -890,7 +890,6 @@ static int http_read_stream(URLContext *h, uint8_t *buf, int size) if (!s->chunksize) { char line[32]; - for(;;) { do { if ((err = http_get_line(s, line, sizeof(line))) < 0) return err; @@ -902,8 +901,6 @@ static int http_read_stream(URLContext *h, uint8_t *buf, int size) if (!s->chunksize) return 0; - break; - } } size = FFMIN(size, s->chunksize); } |