projects
/
platform
/
core
/
api
/
player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9716955
)
[0.3.123] Fix Coverity issues (Uninitialized scalar variable)
30/215330/2
author
Gilbok Lee
<gilbok.lee@samsung.com>
Mon, 7 Oct 2019 06:00:50 +0000
(15:00 +0900)
committer
Gilbok Lee
<gilbok.lee@samsung.com>
Mon, 7 Oct 2019 06:02:28 +0000
(15:02 +0900)
Change-Id: Ib3dc72bd03869aebf9e668527002001a2972c565
test/player_test.c
patch
|
blob
|
history
diff --git
a/test/player_test.c
b/test/player_test.c
index
f6389c7
..
1975c01
100644
(file)
--- a/
test/player_test.c
+++ b/
test/player_test.c
@@
-1521,11
+1521,11
@@
static void get_codec_type(int stream_type)
int type = 0;
if (stream_type == 1) {
- player_video_codec_type_ex_e vtype;
+ player_video_codec_type_ex_e vtype
= PLAYER_VIDEO_CODEC_TYPE_EX_DEFAULT
;
ret = player_get_video_codec_type_ex(g_player[0], &vtype);
type = vtype;
} else {
- player_codec_type_e atype;
+ player_codec_type_e atype
= PLAYER_CODEC_TYPE_SW
;
ret = player_get_audio_codec_type(g_player[0], &atype);
type = atype;
}