diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2018-04-18 11:22:23 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2018-04-18 11:22:23 +0800 |
commit | 223f3dff8cd874143b6d531b2c8f45ad0dc9d9f6 (patch) | |
tree | a504c36f0c5628d77cf0c90f1fbbabc259723776 /libavformat/hls.c | |
parent | 3c6f701524137d2dc58ff26efcf2e2c6d4b86413 (diff) |
avformat/hls: remove redundant code
Suggested-by: Richard Shaffer <rshaffer@tunein.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r-- | libavformat/hls.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c index 6893f6d3ca..ffec124818 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -919,9 +919,6 @@ static int read_from_url(struct playlist *pls, struct segment *seg, buf_size = FFMIN(buf_size, seg->size - pls->cur_seg_offset); ret = avio_read(pls->input, buf, buf_size); - if (ret != buf_size) - av_log(NULL, AV_LOG_ERROR, "Could not read complete segment.\n"); - if (ret > 0) pls->cur_seg_offset += ret; |