diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2024-05-25 02:52:12 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2024-05-28 03:48:04 +0200 |
commit | 3c1915d7762db3dc1d3b1185ec2bb27b7682c00e (patch) | |
tree | fca002f1408a86d502e604a45c288575d6d822ee /libavformat | |
parent | 33da5f4e2717cc947cf44ad9a52668694ea4ee82 (diff) | |
download | ffmpeg-3c1915d7762db3dc1d3b1185ec2bb27b7682c00e.tar.gz |
avformat/hlsenc: Remove dead ret stores
Fixes: CID1529222 Unused value
Sponsored-by: Sovereign Tech Fund
Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/hlsenc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 0e2843c6bc..8a43ef6232 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -1582,8 +1582,6 @@ static int hls_window(AVFormatContext *s, int last, VariantStream *vs) ret = hlsenc_io_open(s, byterange_mode ? &hls->m3u8_out : &vs->out, temp_filename, &options); av_dict_free(&options); if (ret < 0) { - if (hls->ignore_io_errors) - ret = 0; goto fail; } @@ -1641,8 +1639,6 @@ static int hls_window(AVFormatContext *s, int last, VariantStream *vs) ret = hlsenc_io_open(s, &hls->sub_m3u8_out, temp_vtt_filename, &options); av_dict_free(&options); if (ret < 0) { - if (hls->ignore_io_errors) - ret = 0; goto fail; } ff_hls_write_playlist_header(hls->sub_m3u8_out, hls->version, hls->allowcache, |