[FFmpeg-devel] [PATCH] Move CPU detection to libavutil and cleanup

Stefano Sabatini stefano.sabatini-lala
Mon Aug 30 01:35:56 CEST 2010


On date Monday 2010-08-30 00:48:14 +0200, Aurelien Jacobs encoded:
> On Mon, Aug 30, 2010 at 12:40:41AM +0200, Stefano Sabatini wrote:
> > I didn't investigated the issue since I'm quite sure someone can point
> > me in the right direction in few seconds, I don't even know where
> > x86_reg is supposed to be defined.
> 
> libavutil/x86_cpu.h

Ah funny, it was a preprocessor issue, we have:
libavutil/x86_cpu.h => AVUTIL_X86_CPU_H
libavutil/x86/cpu.h => AVUTIL_X86_CPU_H

so the inclusion guards were preventing the inclusion of the second
file.

BTW shouldn't x86_cpu.h be moved to the libavutil/x86 dir?

Regards.
-- 
FFmpeg = Fucking & Friendly Martial Peaceful Esoteric Geek



More information about the ffmpeg-devel mailing list