Commit 990aacdb authored by Michael Krufky's avatar Michael Krufky

dr_81: initialize p_decoded with 0's

Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
parent 6ab64fb3
......@@ -63,6 +63,8 @@ dvbpsi_ac3_audio_dr_t *dvbpsi_DecodeAc3AudioDr(dvbpsi_descriptor_t *p_descriptor
if (!p_decoded)
return NULL;
memset(p_decoded, 0, sizeof (dvbpsi_ac3_audio_dr_t));
p_descriptor->p_decoded = (void*)p_decoded;
p_decoded->i_sample_rate_code = 0x07 & (buf[0] >> 5);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment