changeset 32695:5f69ed383ff1

Fix -af lavcac3enc after float ac3 encoder was made default in libavcodec.
author cehoyos
date Tue, 11 Jan 2011 13:09:46 +0000
parents 3c1c3676df94
children bcfc1fb9cd03
files libaf/af_lavcac3enc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libaf/af_lavcac3enc.c	Tue Jan 11 00:12:20 2011 +0000
+++ b/libaf/af_lavcac3enc.c	Tue Jan 11 13:09:46 2011 +0000
@@ -274,9 +274,9 @@
 
     init_avcodec();
 
-    s->lavc_acodec = avcodec_find_encoder_by_name("ac3");
+    s->lavc_acodec = avcodec_find_encoder_by_name("ac3_fixed");
     if (!s->lavc_acodec) {
-        mp_msg(MSGT_AFILTER, MSGL_ERR, MSGTR_LavcAudioCodecNotFound, "ac3");
+        mp_msg(MSGT_AFILTER, MSGL_ERR, MSGTR_LavcAudioCodecNotFound, "ac3_fixed");
         return AF_ERROR;
     }