diff options
author | wm4 <wm4@nowhere> | 2013-05-30 17:40:55 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-30 17:45:05 +0200 |
commit | 3f3531f5607cd973488260aa00c752c3a74496a5 (patch) | |
tree | de514bf7511991d78b3c5898cf1dd97d5c63ed4a /demux/demux_edl.c | |
parent | 59892dd4cc1bc29bfbc533f61fb404fb919f4906 (diff) | |
download | mpv-3f3531f5607cd973488260aa00c752c3a74496a5.tar.bz2 mpv-3f3531f5607cd973488260aa00c752c3a74496a5.tar.xz |
demux_mkv: fix wavpack in mkv
Libav introduced a silent API breakage by changing what wavpack packets
the libavcodec decoder accepts. Originally the libavcodec codec accepted
Matroska-style wavpack packets. Libav commit 9b6f47c removed this
capability from the libavcodec code, and added code to libavformat's
Matroska demuxer to "rearrange" wavpack packets. Since demux_mkv still
sent Matroska-style packets, playback failed.
Fix this by "rearranging" packets in demux_mkv as well by copying
libavformat's code. (The best kind of fix.)
Tested with [CCCP]_Mega_Lossless_Audio_Test.mkv, as well as with a
sample generated by mkvmerge.
Diffstat (limited to 'demux/demux_edl.c')
0 files changed, 0 insertions, 0 deletions