From 0e09997fa452565e59bfbdf81a96917b3c503470 Mon Sep 17 00:00:00 2001 From: clsid2 Date: Mon, 7 Mar 2011 00:08:34 +0000 Subject: Libavcodec AC3/E-AC3/DTS decoders now output floating point data. git-svn-id: https://ffdshow-tryout.svn.sourceforge.net/svnroot/ffdshow-tryout@3769 3b938f2f-1a1a-0410-8054-a526ea5ff92c --- libavcodec/fmtconvert.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'libavcodec/fmtconvert.c') diff --git a/libavcodec/fmtconvert.c b/libavcodec/fmtconvert.c index e27c1f69f4..0e8aa5e909 100644 --- a/libavcodec/fmtconvert.c +++ b/libavcodec/fmtconvert.c @@ -66,3 +66,34 @@ av_cold void ff_fmt_convert_init(FmtConvertContext *c, AVCodecContext *avctx) if (HAVE_ALTIVEC) ff_fmt_convert_init_altivec(c, avctx); if (HAVE_MMX) ff_fmt_convert_init_x86(c, avctx); } + +/* ffdshow custom code */ +void float_interleave(float *dst, const float **src, long len, int channels) +{ + int i,j,c; + if(channels==2){ + for(i=0; i