On 2011-12-31 09:32:21 -0800, Ronald S. Bultje wrote: > Hi, > > On Sat, Dec 31, 2011 at 9:24 AM, Janne Grunau <[email protected]> wrote: > > Since the conditions for the actual usage are more specific a less > > preferred method can be used. This would cause compilation errors > > because necessary headers are not included. > > --- > > libavcodec/pthread.c | 6 ++++-- > > 1 files changed, 4 insertions(+), 2 deletions(-) > > Can't we duplicate the exact conditions used in the actual code? This > seems similar to the register-mess with the h264 inline asm (function > declaration vs call).
unfortunately not, the additional checks depend on things which are declared in the headers. Adding checks to configure seems to be overkill. Janne _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
