Fixes: CID1529222 Unused value
Unified · Split
| @@ -1582,8 +1582,6 @@ static int hls_window(AVFormatContext *s, int last, VariantStream *vs) · 1581 unmodified lines | ||
| 1582 | 1582 | ret = hlsenc_io_open(s, byterange_mode ? &hls->m3u8_out : &vs->out, temp_filename, &options); |
| 1583 | 1583 | av_dict_free(&options); |
| 1584 | 1584 | if (ret < 0) { |
| 1585 | − if (hls->ignore_io_errors) | |
| 1586 | − ret = 0; | |
| 1587 | 1585 | goto fail; |
| 1588 | 1586 | } |
| 1589 | 1587 | |
| @@ -1641,8 +1639,6 @@ static int hls_window(AVFormatContext *s, int last, VariantStream *vs) · 51 unmodified lines | ||
| 1641 | 1639 | ret = hlsenc_io_open(s, &hls->sub_m3u8_out, temp_vtt_filename, &options); |
| 1642 | 1640 | av_dict_free(&options); |
| 1643 | 1641 | if (ret < 0) { |
| 1644 | − if (hls->ignore_io_errors) | |
| 1645 | − ret = 0; | |
| 1646 | 1642 | goto fail; |
| 1647 | 1643 | } |
| 1648 | 1644 | ff_hls_write_playlist_header(hls->sub_m3u8_out, hls->version, hls->allowcache, |