demux_mkv: remove remaining GPL code

Fuck this thing.
This commit is contained in:
wm4
2017-10-10 17:35:47 +02:00
parent 474a7c26f2
commit b7f90be567
2 changed files with 1 additions and 9 deletions

View File

@@ -106,7 +106,6 @@ The following files are still GPL only (--enable-lgpl disables them):
The following files contain some optional GPL code (--enable-lgpl disables it): The following files contain some optional GPL code (--enable-lgpl disables it):
input/cmd_list.c potentially some commands input/cmd_list.c potentially some commands
demux/demux_mkv.c some verbose message
options/options.c --frames option options/options.c --frames option
options/parse_commandline.c dvd:// expansion options/parse_commandline.c dvd:// expansion
player/audio.c libaf glue code player/audio.c libaf glue code

View File

@@ -18,8 +18,6 @@
* *
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public
* License along with mpv. If not, see <http://www.gnu.org/licenses/>. * License along with mpv. If not, see <http://www.gnu.org/licenses/>.
*
* Parts under HAVE_GPL are licensed under GNU General Public License.
*/ */
#include <stdlib.h> #include <stdlib.h>
@@ -702,12 +700,7 @@ static void parse_trackentry(struct demuxer *demuxer,
} }
track->uid = entry->track_uid; track->uid = entry->track_uid;
if (entry->name) { track->name = talloc_strdup(track, entry->name);
track->name = talloc_strdup(track, entry->name);
#if HAVE_GPL
MP_VERBOSE(demuxer, "| + Name: %s\n", track->name);
#endif
}
track->type = entry->track_type; track->type = entry->track_type;
MP_VERBOSE(demuxer, "| + Track type: "); MP_VERBOSE(demuxer, "| + Track type: ");