[MPlayer-cvslog] r32782 - trunk/libaf/af_lavcac3enc.c

cehoyos subversion at mplayerhq.hu
Tue Jan 11 14:09:47 CET 2011


Author: cehoyos
Date: Tue Jan 11 14:09:46 2011
New Revision: 32782

Log:
Fix -af lavcac3enc after float ac3 encoder was made default in libavcodec.

Modified:
   trunk/libaf/af_lavcac3enc.c

Modified: trunk/libaf/af_lavcac3enc.c
==============================================================================
--- trunk/libaf/af_lavcac3enc.c	Tue Jan 11 01:12:20 2011	(r32781)
+++ trunk/libaf/af_lavcac3enc.c	Tue Jan 11 14:09:46 2011	(r32782)
@@ -274,9 +274,9 @@ static int af_open(af_instance_t* af){
 
     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;
     }
 


More information about the MPlayer-cvslog mailing list