summaryrefslogtreecommitdiff
path: root/libavcodec/ac3enc_fixed.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-01-04 11:53:44 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2011-01-04 11:53:44 +0000
commit6fd96d1a85f3b81a1dbf08b79ba395506471ded0 (patch)
tree50aff50d56d178128d75a120a387f46b116d4965 /libavcodec/ac3enc_fixed.c
parent6780f488467f75444317a95f00f35c26453f4e96 (diff)
Change the AC-3 encoder to use floating-point.
Fixed-point AC-3 encoder renamed to ac3_fixed. Regression test acodec-ac3 renamed to acodec-ac3_fixed. Regression test lavf-rm changed to use ac3_fixed encoder. Originally committed as revision 26209 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc_fixed.c')
-rw-r--r--libavcodec/ac3enc_fixed.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/ac3enc_fixed.c b/libavcodec/ac3enc_fixed.c
index 6505b7a0ea..9d3b195ded 100644
--- a/libavcodec/ac3enc_fixed.c
+++ b/libavcodec/ac3enc_fixed.c
@@ -26,6 +26,7 @@
* fixed-point AC-3 encoder.
*/
+#undef CONFIG_AC3ENC_FLOAT
#include "ac3enc.c"
@@ -413,8 +414,8 @@ int main(void)
#endif /* TEST */
-AVCodec ac3_encoder = {
- "ac3",
+AVCodec ac3_fixed_encoder = {
+ "ac3_fixed",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_AC3,
sizeof(AC3EncodeContext),