diff options
author | wm4 <wm4@nowhere> | 2012-12-09 18:53:24 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-12-11 00:37:54 +0100 |
commit | 2dd2d9bcfcf57b9921c9ef360746dd59c45574fd (patch) | |
tree | fc470ed6d914e9b04e8b0fb33f51ce0346b86804 /Makefile | |
parent | 58f3b7548588c224099fa059868116be003678bd (diff) | |
download | mpv-2dd2d9bcfcf57b9921c9ef360746dd59c45574fd.tar.bz2 mpv-2dd2d9bcfcf57b9921c9ef360746dd59c45574fd.tar.xz |
audio/decode: remove ad_pcm and use ad_lavc for PCM
Since libavcodec doesn't have a "generic" PCM decoder, we have to go out
of out way to make it look like ad_lavc provides one: make it provide a
pseudo "pcm" decoder, which maps some format tags manually to the
individual libavcodec PCM decoders.
Format tags which uniquely map to one libavcodec could be mapped via
codecs.conf. Since defining these in tag_map[] is much shorter (one line
vs. a full codec entry in codecs.conf), and since we need tag_map[]
anyway, we don't use codecs.conf for these.
ad_pcm is evil because it still does partial packet reads (with
demux_read_data()), and it's redundant to libavcodec anyway.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -125,7 +125,6 @@ SOURCES = talloc.c \ audio/decode/ad.c \ audio/decode/ad_dvdpcm.c \ audio/decode/ad_lavc.c \ - audio/decode/ad_pcm.c \ audio/decode/ad_spdif.c \ audio/decode/dec_audio.c \ audio/filter/af.c \ |