Browse Source

lavf/segment: decide whether to rename based on list URI

This fixes the case of writing segments to local files, but the list
over a network protocol.
tags/n3.2
Rodger Combs 8 years ago
parent
commit
ecb53e1101
No known key found for this signature in database GPG Key ID: E3E54DCDCD3CB843
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/segment.c

+ 1
- 1
libavformat/segment.c View File

@@ -709,7 +709,7 @@ static int seg_init(AVFormatContext *s)
if ((ret = segment_list_open(s)) < 0)
goto fail;
} else {
const char *proto = avio_find_protocol_name(s->filename);
const char *proto = avio_find_protocol_name(seg->list);
seg->use_rename = proto && !strcmp(proto, "file");
}
}


Loading…
Cancel
Save