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

Måns Rullgård mans
Mon Aug 30 10:43:55 CEST 2010


Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

> 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?

Yes, and probably renamed too.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list