avutil/cpu: remove the |checked| static variable
authorWan-Teh Chang <wtc-at-google.com@ffmpeg.org>
Wed, 23 Nov 2016 19:21:56 +0000 (11:21 -0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 23 Nov 2016 21:35:25 +0000 (22:35 +0100)
commit29fb49194bedc74ac9be0b49b6b42dcfeb6222d9
tree169ea4c414e9f6e073a1119244f1205fe64bd8bd
parentdd10e7253abf280c603941613a4cc27ca347b76d
avutil/cpu: remove the |checked| static variable

Remove the |checked| variable because the invalid value of -1 for
|flags| can be used to indicate the same condition. Also rename |flags|
to |cpu_flags| because there are a local variable and a function
parameter named |flags| in the same file.

Co-author: Dmitry Vyukov of Google

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavutil/cpu.c