summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-20 12:49:45 +0200
committerwm4 <wm4@nowhere>2015-07-20 13:04:06 +0200
commitb11fd7fd2d18bd94004a40a1865df12babc4537f (patch)
tree126b334229e203a0f2ae2d1cfc75d5555d363f1b
parent3252d352c901fb55f92d24385776374c25bcd704 (diff)
downloadmpv-b11fd7fd2d18bd94004a40a1865df12babc4537f.tar.bz2
mpv-b11fd7fd2d18bd94004a40a1865df12babc4537f.tar.xz
demux_mkv: remove unnecessary code
This did nothing. It's a leftover from ancient times.
-rw-r--r--demux/demux_mkv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c
index f6eabf71b6..e8f0c596cd 100644
--- a/demux/demux_mkv.c
+++ b/demux/demux_mkv.c
@@ -1608,10 +1608,6 @@ static int demux_mkv_open_audio(demuxer_t *demuxer, mkv_track_t *track)
extradata = talloc_size(sh_a, 4);
extradata_len = 4;
memcpy(extradata, "fLaC", 4);
- } else {
- extradata = talloc_size(sh_a, size);
- extradata_len = size;
- memcpy(extradata, ptr, size);
}
parse_flac_chmap(&sh_a->channels, extradata, extradata_len);
} else if (!strcmp(codec, "alac")) {