<div dir="ltr">Angelo,<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 24, 2013 at 9:19 AM, Angelo Schiavone <span dir="ltr"><<a href="mailto:angelo.schiavone@gmail.com" target="_blank">angelo.schiavone@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px">NIT and BAT p_end needs a + 2 because </span><span style="color:#008000">Transport</span><span style="color:#c0c0c0"> </span><span style="color:#008000">stream</span><span style="color:#c0c0c0"> </span><span style="color:#008000">loop</span><span style="color:#c0c0c0"> </span><span style="color:#008000">length </span><font color="#222222" face="arial, sans-serif"><span style="font-size:12.727272033691406px">does not</span></font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font color="#222222" face="arial, sans-serif"><span style="font-size:12.727272033691406px">include its 2 bytes; it represents the amount of bytes in the loop, excluding itself bytes.</span></font></pre>
<div class="HOEnZb"><div class="h5">
<br><div class="gmail_quote">2013/1/24 Angelo Schiavone <span dir="ltr"><<a href="mailto:angelo.schiavone@gmail.com" target="_blank">angelo.schiavone@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div><div><span style="color:rgb(34,34,34);font-size:12.727272033691406px;font-family:arial,sans-serif">NIT and BAT table already start at the right location </span></div></div><div><span style="color:rgb(34,34,34);font-size:12.727272033691406px;font-family:arial,sans-serif">but the problem with them </span><span style="color:rgb(34,34,34);font-family:arial,sans-serif">is</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif"> (</span><span style="color:rgb(34,34,34);font-size:12.727272033691406px;font-family:arial,sans-serif">as pointed out in the patch)</span></div>
<div><font color="#222222" face="arial, sans-serif">with the calculation of p_end which needs a +2 otherwise</font></div><div><font color="#222222" face="arial, sans-serif">decoder may miss last descriptor in the loop.</font></div>
<div><font color="#222222" face="arial, sans-serif">attached the patch against last commit.</font></div><div><font color="#222222" face="arial, sans-serif">thanks</font></div></blockquote></div></div></div></blockquote><br>
</div><div class="gmail_quote">Ah, I looked at the wrong descriptor loop length. Patch is applied and will show up shortly in the videolan repository.<br><br></div><div class="gmail_quote">Kind regards,<br><br>Jean-Paul Saman<br>
</div><br></div></div></div>