Hi Jay, You are right, I checked FFmpeg document and it seems 0.5 and 0.6 branches have the same major version 52. However if you use major version 53, you will end up using old API when you are in 0.6, which leads to some compile warnings.
So I think a better way to fix it is to use the minor version number like this: #if LIBAVCODEC_VERSION_MAJOR < 52 || (LIBAVCODEC_VERSION_MAJOR == 52 && LIBAVCODEC_VERSION_MINOR <= 20) Vic On 04/20/2011 11:25 AM, Jay Sorg wrote: > I get this error compiling with ubuntu 9.10. > > It looks like FF_MM_MMX2 is not defined but FF_MM_MMXEXT is maybe that > is good enough? > > also, LIBAVCODEC_VERSION_MAJOR seems to be 52 but those things are not > defined. > > Jay ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Freerdp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freerdp-devel
