mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-02 20:35:37 +02:00
avformat/dashenc: Removed usage of deprecated 'filename' variable
This commit is contained in:
parent
6d763ab588
commit
e3851f6a37
@ -1310,7 +1310,7 @@ static int dash_write_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
//open the output context when the first frame of a segment is ready
|
//open the output context when the first frame of a segment is ready
|
||||||
if (!c->single_file && !os->out) {
|
if (!c->single_file && !os->out) {
|
||||||
AVDictionary *opts = NULL;
|
AVDictionary *opts = NULL;
|
||||||
const char *proto = avio_find_protocol_name(s->filename);
|
const char *proto = avio_find_protocol_name(s->url);
|
||||||
int use_rename = proto && !strcmp(proto, "file");
|
int use_rename = proto && !strcmp(proto, "file");
|
||||||
os->filename[0] = os->full_path[0] = os->temp_path[0] = '\0';
|
os->filename[0] = os->full_path[0] = os->temp_path[0] = '\0';
|
||||||
ff_dash_fill_tmpl_params(os->filename, sizeof(os->filename),
|
ff_dash_fill_tmpl_params(os->filename, sizeof(os->filename),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user