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:
wm4 2018-01-31 03:53:34 +01:00
parent e197ca3dd5
commit a9f97b26d8
1 changed files with 4 additions and 1 deletions

View File

@ -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: ");