diff options
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c index c0b0c2fb65..d1ff9cc762 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -2444,8 +2444,8 @@ static void update_opts(struct demux_internal *in) mp_recorder_destroy(in->recorder); in->recorder = NULL; } - in->record_filename = talloc_strdup(in, opts->record_file); talloc_free(in->record_filename); + in->record_filename = talloc_strdup(in, opts->record_file); // Note: actual recording only starts once packets are read. It may be // important to delay creating in->recorder to that point, because the // demuxer might detect more streams until finding the first packet. |