*/
/**
- * @file libavcodec/nellymoser.c
+ * @file
* The 3 alphanumeric copyright notices are md5summed they are from the original
* implementors. The original code is available from http://code.google.com/p/nelly2pcm/
*/
-#include "nellymoser.h"
-#include "avcodec.h"
-#include "dsputil.h"
+#include "libavutil/common.h"
-#define ALT_BITSTREAM_READER_LE
-#include "get_bits.h"
+#include "avcodec.h"
+#include "nellymoser.h"
const float ff_nelly_dequantization_table[127] = {
0.0000000000,
static inline int signed_shift(int i, int shift) {
if (shift > 0)
- return i << shift;
+ return (unsigned)i << shift;
return i >> -shift;
}
return 31;
}
l = 30 - av_log2(FFABS(*la));
- *la <<= l;
+ *la *= 1<<l;
return l;
}
bits[i] = 0;
}
}
-