> @@ -1813,6 +1813,14 @@
>  #define FF_OPT_MAX_DEPTH 10
>  } AVOption;
>  
> +#ifdef HAVE_MMX
> +extern const struct AVOption avoptions_common[3 + 5];
> +#else
> +extern const struct AVOption avoptions_common[3];
> +#endif
> +extern const struct AVOption avoptions_workaround_bug[11];
> +

I understand this one - (moreover it's been removed
from original ffmpeg source - howver this will require I'll
add options into my code :(


> -#ifndef HAVE_LRINTF
> -/* XXX: add ISOC specific test to avoid specific BSD testing. */
> -/* better than nothing implementation. */
> -/* btw, rintf() is existing on fbsd too -- alex */
> -static always_inline long int lrintf(float x)
> -{
> -#ifdef CONFIG_WIN32
> -#  ifdef ARCH_X86
> -    int32_t i;
> -    asm volatile(
> -        "fistpl %0\n\t"
> -        : "=m" (i) : "t" (x) : "st"
> -    );
> -    return i;
> -#  else
> -    /* XXX: incorrect, but make it compile */
> -    return (int)(x + (x < 0 ? -0.5 : 0.5));
> -#  endif
> -#else
> -    return (int)(rint(x));
> -#endif
> -}
> -#else
> -#ifndef _ISOC9X_SOURCE
> -#define _ISOC9X_SOURCE
> -#endif
>  #include <math.h>
> -#endif

What's wrong with this one ???


> +#define MAX_BUFFER_TIME 1.0;
> +
>  class AudioQueue
>  {
>  public:
> -    static const double MAX_BUFFER_TIME = 1.0;

Wow - gcc-4.0 does not support const doubles - that would be
something new to me ????
Are you sure about this ?

>  
> -    static const float m_fDropLimit = -0.015;
> -
>  static const int PRIORITY_ADD_AUDIO = 0;
> +static const float m_fDropLimit = -0.015;

What's wrong with class static variables in gcc-4.0 ??

> -avm::IReadFile* avm::CreateReadFile(const char* name, unsigned int flags)
> +IReadFile* CreateReadFile(const char* name, unsigned int flags)

ok

>      if (set_base != NULL)
> -     fbuf.base     = (void*)((unsigned int)set_base+(unsigned int)shift);
> +     fbuf.base     = (void*)((unsigned long)set_base+(unsigned long)shift);

ok - though I've used  (char*) type instead of (unsigned long)

>                   avml(AVML_WARN,
> -                      "v4l1: can not allocate frame buffer base: 
> 0x%x\n",(int)base);
> +                      "v4l1: can not allocate frame buffer base: 
> 0x%lx\n",(long)base);

Ok - using %p for priting pointer 

Please explain me what's wrong with const doubles so you have replaced
them with macros (which aren't obviously vissible in debugger)

-- 
  .''`.       Litigation: The Business Model of the Future! (TM)
 : :' :        http://www.microsoft.com/mscorp/ip/tech/fat.asp
 `. `'    Zdenek Kabelac  [EMAIL PROTECTED], users.sf.net, fi.muni.cz}
   `-         Debian GNU/Linux maintainer - www.debian.{org,cz}     
    


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to