[FFmpeg-devel] [FFmpeg-cvslog] mips: display a warning message when using an unknown CPU

Clément Bœsch u at pkh.me
Wed Jan 6 21:44:51 CET 2016


On Wed, Jan 06, 2016 at 09:28:33PM +0100, Vicente Olivert Riera wrote:
> ffmpeg | branch: master | Vicente Olivert Riera <Vincent.Riera at imgtec.com> | Wed Jan  6 16:55:29 2016 +0000| [6282bdc2bf36ce492d233db38bce219a1a976cfe] | committer: Michael Niedermayer
> 
> mips: display a warning message when using an unknown CPU
> 
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> 
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6282bdc2bf36ce492d233db38bce219a1a976cfe
> ---
> 
>  configure |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/configure b/configure
> index 4d6d4fc..6fda30b 100755
> --- a/configure
> +++ b/configure
> @@ -4238,6 +4238,8 @@ elif enabled mips; then
>              disable msa
>          ;;
>          *)
> +            # Unknown CPU. Disable everything.
> +            echo "Warning: unknown CPU. Disabling all MIPS optimizations."

We have a warn() function in configure.

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160106/780e5be0/attachment.sig>


More information about the ffmpeg-devel mailing list