diff options
| author | Colin Ian King <[email protected]> | 2021-01-15 11:11:26 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-01-27 16:17:29 +0100 |
| commit | c5b14df7a80acadbbd184808dc3f519fbb2ab96c (patch) | |
| tree | afe6ce70a7798c28d1d23330b567dfae9c6a1329 /tools/perf/scripts/python | |
| parent | b08797d1b2ec25165768c841a2ac484fecd72be1 (diff) | |
media: venus: Fix uninitialized variable count being checked for zero
In the case where plat->codecs is NULL the variable count is uninitialized
but is being checked to see if it is 0. Fix this by initializing
count to 0.
Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: e29929266be1 ("media: venus: Get codecs and capabilities from hfi platform")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Stanimir Varbanov <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions