[FFmpeg-devel] [PATCH 1/2] osx: detect version of mac os

Xidorn Quan quanxunzhen at gmail.com
Thu Aug 23 17:41:16 CEST 2012


On Thu, Aug 23, 2012 at 7:49 PM, Clément Bœsch <ubitux at gmail.com> wrote:

>
> Can you elaborate on this and the potential alternatives?
>
> One thing that doesn't seem to be OK with that is that the version doesn't
> exist if you're not on OSX, so you can't use such function without a
> previous check for OSX, or else it won't link. Also, having a public
> function which might not be defined sounds wrong to me.
>

Maybe when not in OSX, returning empty value instead of not linking is
better?


More information about the ffmpeg-devel mailing list