summaryrefslogtreecommitdiffstats
path: root/libavformat/hls.c
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2018-04-18 11:22:23 +0800
committerSteven Liu <lq@chinaffmpeg.org>2018-04-18 11:22:23 +0800
commit223f3dff8cd874143b6d531b2c8f45ad0dc9d9f6 (patch)
treea504c36f0c5628d77cf0c90f1fbbabc259723776 /libavformat/hls.c
parent3c6f701524137d2dc58ff26efcf2e2c6d4b86413 (diff)
downloadffmpeg-streaming-223f3dff8cd874143b6d531b2c8f45ad0dc9d9f6.zip
ffmpeg-streaming-223f3dff8cd874143b6d531b2c8f45ad0dc9d9f6.tar.gz
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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 6893f6d..ffec124 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;
OpenPOWER on IntegriCloud