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

Showing the changes to libavformat (1 of 1 file). Show all

Unified · Split

libavformat/hlsenc.c+0−4
@@ -1582,8 +1582,6 @@ static int hls_window(AVFormatContext *s, int last, VariantStream *vs) · 1581 unmodified lines
1582 ret = hlsenc_io_open(s, byterange_mode ? &hls->m3u8_out : &vs->out, temp_filename, &options);1582 ret = hlsenc_io_open(s, byterange_mode ? &hls->m3u8_out : &vs->out, temp_filename, &options);
1583 av_dict_free(&options);1583 av_dict_free(&options);
1584 if (ret < 0) {1584 if (ret < 0) {
1585 if (hls->ignore_io_errors)
1586 ret = 0;
1587 goto fail;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 ret = hlsenc_io_open(s, &hls->sub_m3u8_out, temp_vtt_filename, &options);1639 ret = hlsenc_io_open(s, &hls->sub_m3u8_out, temp_vtt_filename, &options);
1642 av_dict_free(&options);1640 av_dict_free(&options);
1643 if (ret < 0) {1641 if (ret < 0) {
1644 if (hls->ignore_io_errors)
1645 ret = 0;
1646 goto fail;1642 goto fail;
1647 }1643 }
1648 ff_hls_write_playlist_header(hls->sub_m3u8_out, hls->version, hls->allowcache,1644 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