History

avformat/hlsenc: Remove dead ret stores

Fixes: CID1529222 Unused value

Michael Niedermayer committed 2 years ago

Commit 3c1915d1 parent 33da5f41 file · +0 −4Browse files

Unified · Split

libavformat/hlsenc.c+0−4
@@ -1582,8 +1582,6 @@ static int hls_window(AVFormatContext *s, int last, VariantStream *vs) · 1581 unmodified lines
15821582 ret = hlsenc_io_open(s, byterange_mode ? &hls->m3u8_out : &vs->out, temp_filename, &options);
15831583 av_dict_free(&options);
15841584 if (ret < 0) {
1585− if (hls->ignore_io_errors)
1586− ret = 0;
15871585 goto fail;
15881586 }
15891587
@@ -1641,8 +1639,6 @@ static int hls_window(AVFormatContext *s, int last, VariantStream *vs) · 51 unmodified lines
16411639 ret = hlsenc_io_open(s, &hls->sub_m3u8_out, temp_vtt_filename, &options);
16421640 av_dict_free(&options);
16431641 if (ret < 0) {
1644− if (hls->ignore_io_errors)
1645− ret = 0;
16461642 goto fail;
16471643 }
16481644 ff_hls_write_playlist_header(hls->sub_m3u8_out, hls->version, hls->allowcache,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t