[Converter] Lower cyclomatic-complexity
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 8 Apr 2020 08:22:31 +0000 (17:22 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 10 Apr 2020 12:12:17 +0000 (21:12 +0900)
commit433434b56863cac6078bbd86de4f53dfa456dcf2
tree1d6b934701ac56b0af8d1e81f9f8fdef5a3d2c6a
parentf71a38376ecc92a4be541df571c1da11ff6a85fc
[Converter] Lower cyclomatic-complexity

The CC value of chain function was 24.
Lower it down!

V2: A nested if condition was merged.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
gst/nnstreamer/tensor_converter/tensor_converter.c