mirror of https://github.com/mpv-player/mpv
Revert "demux_mkv: remove remaining GPL code"
This reverts commit b7f90be567
.
The author agreed to the relicensing now (if that code is affected by
the original copyright at all - that was the only line possibly left of
it).
This commit is contained in:
parent
e197ca3dd5
commit
a9f97b26d8
|
@ -704,7 +704,10 @@ static void parse_trackentry(struct demuxer *demuxer,
|
|||
}
|
||||
track->uid = entry->track_uid;
|
||||
|
||||
track->name = talloc_strdup(track, entry->name);
|
||||
if (entry->name) {
|
||||
track->name = talloc_strdup(track, entry->name);
|
||||
MP_VERBOSE(demuxer, "| + Name: %s\n", track->name);
|
||||
}
|
||||
|
||||
track->type = entry->track_type;
|
||||
MP_VERBOSE(demuxer, "| + Track type: ");
|
||||
|
|
Loading…
Reference in New Issue