[FFmpeg-devel] [PATCH 1/2] update configure etc to use libyami for h264 decode

Ronald S. Bultje rsbultje at gmail.com
Fri Jan 9 13:38:22 CET 2015


Hi,

On Fri, Jan 9, 2015 at 3:15 AM, Zhao, Halley <halley.zhao at intel.com> wrote:

> @@ -1031,7 +1032,8 @@ check_func_headers(){
>              echo "long check_$func(void) { return (long) $func; }"
>          done
>          echo "int main(void) { return 0; }"
> -    } | check_ld "cc" "$@" && enable $funcs && enable_safe $headers
> +    ## both C++/C header check goes here, use 'cxx'
> +    } | check_ld "cxx" "$@" && enable $funcs && enable_safe $headers
>  }
>

This seems wrong, as in, this will likely use c++ even when it's not
necessary. Why not create a new macro check_func_headers_cxx?

Ronald


More information about the ffmpeg-devel mailing list