[Api/Single] invalid condition to check model
authorJaeyun <jy1210.jung@samsung.com>
Tue, 3 Sep 2019 10:19:02 +0000 (19:19 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 4 Sep 2019 03:37:21 +0000 (12:37 +0900)
commit3c9b2d7ec91be608f4360486d5778bf97d5a168e
tree58ba47e4d1b6876c1f53daef88867628df10cb40
parent3c0d481466841069be3daa72f66d259b87f8e909
[Api/Single] invalid condition to check model

1. validate model path before checking the file extension.
2. set pre-defined so extension for custom-filter.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
api/capi/src/nnstreamer-capi-single.c