summaryrefslogtreecommitdiffstats
path: root/demux/matroska.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-19 21:39:59 +0200
committerwm4 <wm4@nowhere>2015-06-19 21:39:59 +0200
commit0641ec0525b75d0dc7aeddcccbfe4d9fab7af786 (patch)
treeae422dcf88fd6211480190d674db2ed793a5d0c9 /demux/matroska.h
parentaed7c848407a472ccc63337b3bd7cef97defe8e4 (diff)
downloadmpv-0641ec0525b75d0dc7aeddcccbfe4d9fab7af786.tar.bz2
mpv-0641ec0525b75d0dc7aeddcccbfe4d9fab7af786.tar.xz
demux_mkv: remove FourCCs from audio codec handling
This removes the last traces of the old MPlayer FourCC-based codec mapping code. Forcing all codec IDs through a FourCC table and then back to codec names was confusing at best, so this is a nice cleanup. Handling of PCM (non-VfW case) is redone to some degree. Handling of AC3 is moved below realaudio handling, since "A_REAL/DNET" is apparently AC3, and we must not skip realaudio-specific handling. (It seems unlikely that anything would actually break, but on the other hand I don't have any A_REAL/DNET samples for testing.) Instead of explicitly matching all the specific AAC codec names, just match them all as prefix. Some codecs don't need special handling other than their mapping entries, so they fall away (like Vorbis and Opus). The prores check in mkv_parse_and_add_packet() is not strictly related to this, but is done for consistency with the wavpack check above.
Diffstat (limited to 'demux/matroska.h')
0 files changed, 0 insertions, 0 deletions