You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/hlsenc: reindent code
and remove redundant empty line
This commit is contained in:
@@ -2542,7 +2542,6 @@ static int hls_write_trailer(struct AVFormatContext *s)
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
|
||||
if ( hls->segment_type == SEGMENT_TYPE_FMP4) {
|
||||
int range_length = 0;
|
||||
if (!vs->init_range_length) {
|
||||
@@ -2582,10 +2581,8 @@ static int hls_write_trailer(struct AVFormatContext *s)
|
||||
hlsenc_io_close(s, &vs->out, filename);
|
||||
av_free(filename);
|
||||
|
||||
|
||||
failed:
|
||||
av_write_trailer(oc);
|
||||
|
||||
if (oc->url[0]) {
|
||||
proto = avio_find_protocol_name(oc->url);
|
||||
use_temp_file = proto && !strcmp(proto, "file") && (hls->flags & HLS_TEMP_FILE);
|
||||
|
Reference in New Issue
Block a user