Skip to content

Commit 7b0efad

Browse files
slkanthiarjunbinu
authored andcommitted
Review comments addressed.
1 parent 1323964 commit 7b0efad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

AVOutput/AVOutputTV.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2204,7 +2204,7 @@ namespace Plugin {
22042204
{
22052205
LOGINFO("Entry\n");
22062206
tvDolbyMode_t dvModes[tvMode_Max];
2207-
tvDolbyMode_t *dvModesPtr[tvMode_Max];
2207+
tvDolbyMode_t *dvModesPtr[tvMode_Max]={0};
22082208
unsigned short totalAvailable = 0;
22092209
for (int i = 0; i < tvMode_Max; i++)
22102210
{
@@ -2427,7 +2427,7 @@ namespace Plugin {
24272427
{
24282428
LOGINFO("Entry\n");
24292429
pic_modes_t pictureModes[PIC_MODES_SUPPORTED_MAX];
2430-
pic_modes_t *pictureModesPtr[PIC_MODES_SUPPORTED_MAX];
2430+
pic_modes_t *pictureModesPtr[PIC_MODES_SUPPORTED_MAX]={0};
24312431
unsigned short totalAvailable = 0;
24322432
for (int i = 0; i < PIC_MODES_SUPPORTED_MAX; i++)
24332433
{

AVOutput/AVOutputTVHelper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ namespace Plugin {
266266
{
267267
int mode = 0;
268268
tvDolbyMode_t dolbyModes[tvMode_Max];
269-
tvDolbyMode_t *dolbyModesPtr[tvMode_Max];
269+
tvDolbyMode_t *dolbyModesPtr[tvMode_Max]={0};
270270
unsigned short totalAvailable = 0;
271271

272272
for (int i = 0; i < tvMode_Max; i++)

0 commit comments

Comments
 (0)