shithub: aacdec

Download patch

ref: 570827bdea6579cc1bd0cb42160c7a5ffff1ebf1
parent: 9dcbf0e64f2ede7645e79a01f320a3f07daae8eb
author: menno <menno>
date: Fri Aug 20 04:30:53 EDT 2004

fixed problem in mpeg4ip plugin

--- a/plugins/mpeg4ip/faad2.cpp
+++ b/plugins/mpeg4ip/faad2.cpp
@@ -16,7 +16,7 @@
 ** along with this program; if not, write to the Free Software
 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 **
-** $Id: faad2.cpp,v 1.2 2004/01/05 14:05:12 menno Exp $
+** $Id: faad2.cpp,v 1.3 2004/08/20 08:30:53 menno Exp $
 **/
 #include "faad2.h"
 #include <mpeg4_audio_config.h>
@@ -237,7 +237,7 @@
       aac->m_vft->audio_configure(aac->m_ifptr,
                   aac->m_freq,
                   aac->m_chans,
-                  AUDIO_S16SYS,
+                  (audio_format_t)AUDIO_S16SYS,
                   aac->m_output_frame_size);
       uint8_t *now = aac->m_vft->audio_get_buffer(aac->m_ifptr);
       aac->m_audio_inited = 1;