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>
This commit is contained in:
Michael Niedermayer 2024-05-25 02:52:12 +02:00
parent 33da5f4e27
commit 3c1915d776
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64
1 changed files with 0 additions and 4 deletions

View File

@ -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,