Message ID | 20240624084944.14276-3-martin@martin.st |
---|---|
State | Superseded |
Headers | show |
Series | [FFmpeg-devel,1/4] hlsenc: Fix the return value accumulation in append_single_file | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 0c72774e29..3ca99abdbb 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2586,6 +2586,7 @@ static int hls_write_packet(AVFormatContext *s, AVPacket *pkt) av_dict_free(&options); return ret; } + vs->size = range_length; ret = hlsenc_io_close(s, &vs->out, filename); if (ret < 0) { av_log(s, AV_LOG_WARNING, "upload segment failed,"