<div dir="ltr"><div>Merged,<br><br></div>Thanks<br><br>Kind regards,<br>Jean-Paul Saman<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 4, 2014 at 2:14 PM, Michael Krufky <span dir="ltr"><<a href="mailto:mkrufky@linuxtv.org" target="_blank">mkrufky@linuxtv.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">John-Paul,<br>
<br>
Thanks for merging my changes.  Here's another small one:<br>
<br>
The following patch (dr_81: initialize p_decoded with 0's) silences a<br>
warning generated by the coverity checker.  I have also included it in<br>
my git tree if you'd prefer to simply pull it via git.<br>
<br>
(actual patch follows below pull request)<br>
<br>
Cheers,<br>
<br>
Michael Krufky<br>
<br>
The following changes since commit<br>
6ab64fb30a0daa3a042d71abb6addd110d6e441a:<br>
<br>
  ATSC MGT: make sure all members are initialized. (2014-02-04 11:20:45<br>
  +0100)<br>
<br>
are available in the git repository at:<br>
<br>
  <a href="https://github.com/mkrufky/libdvbpsi.git" target="_blank">https://github.com/mkrufky/libdvbpsi.git</a> pending<br>
<br>
for you to fetch changes up to 990aacdb898c0d2bab6a114de02a83814bb211d2:<br>
<br>
  dr_81: initialize p_decoded with 0's (2014-02-04 08:00:32 -0500)<br>
<br>
<br>
Michael Krufky (1):<br>
      dr_81: initialize p_decoded with 0's<br>
<br>
 src/descriptors/dr_81.c | 2 ++<br>
 1 file changed, 2 insertions(+)<br>
<br>
<br>
<br>
commit 990aacdb898c0d2bab6a114de02a83814bb211d2<br>
Author: Michael Krufky <<a href="mailto:mkrufky@linuxtv.org">mkrufky@linuxtv.org</a>><br>
Date:   Wed Dec 25 22:41:49 2013 -0500<br>
<br>
    dr_81: initialize p_decoded with 0's<br>
<br>
    Signed-off-by: Michael Krufky <<a href="mailto:mkrufky@linuxtv.org">mkrufky@linuxtv.org</a>><br>
<br>
diff --git a/src/descriptors/dr_81.c b/src/descriptors/dr_81.c<br>
index ca41c3d..31a7e77 100644<br>
--- a/src/descriptors/dr_81.c<br>
+++ b/src/descriptors/dr_81.c<br>
@@ -63,6 +63,8 @@ dvbpsi_ac3_audio_dr_t<br>
*dvbpsi_DecodeAc3AudioDr(dvbpsi_descriptor_t *p_descriptor if<br>
(!p_decoded) return NULL;<br>
<br>
+    memset(p_decoded, 0, sizeof (dvbpsi_ac3_audio_dr_t));<br>
+<br>
     p_descriptor->p_decoded = (void*)p_decoded;<br>
<br>
     p_decoded->i_sample_rate_code = 0x07 & (buf[0] >> 5);<br>
</blockquote></div><br></div>