ffmpeg | branch: master | Steven Liu <l...@chinaffmpeg.org> | Wed Apr 18 11:22:23 2018 +0800| [223f3dff8cd874143b6d531b2c8f45ad0dc9d9f6] | committer: Steven Liu
avformat/hls: remove redundant code Suggested-by: Richard Shaffer <rshaf...@tunein.com> Signed-off-by: Steven Liu <l...@chinaffmpeg.org> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=223f3dff8cd874143b6d531b2c8f45ad0dc9d9f6 --- libavformat/hls.c | 3 --- 1 file changed, 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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog