mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avformat/hls: remove redundant code
Suggested-by: Richard Shaffer <rshaffer@tunein.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
parent
3c6f701524
commit
223f3dff8c
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue