Hi,
I have some suggestions which may improve the compiling process for some
older GCC. Personaly I have the version 2.91.66 and it gives the following
error message during the compilation:
ACM_AudioDecoder.cpp: In method
`::avm::ACM_AudioDecoder::ACM_AudioDecoder(const struct ::avm::CodecInfo &,
const struct WAVEFORMATEX *)':
ACM_AudioDecoder.cpp:59: non-lvalue in unary `&'
and it aborts the compilation. The problem is the 59 line in
ACM_AudioDecoder.cpp which is:
acmStreamSize(srcstream, m_pFormat->nBlockAlign, &(DWORD)m_uiMinSize,
ACM_STREAMSIZEF_SOURCE);
I suggest to change it to the following line which has the same meaning but
compiles properly:
acmStreamSize(srcstream, m_pFormat->nBlockAlign, (DWORD *)&m_uiMinSize,
ACM_STREAMSIZEF_SOURCE);
I think that it is not a good idea to make a reference to a type cast and it
is better to type cast the reference.
Sincerly yours,
Sergey
_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile