[libdvbpsi-devel] TOT decode - bug

Jean-Paul Saman jpsaman at videolan.org
Mon Jan 28 09:10:35 CET 2013


Angelo,


On Thu, Jan 24, 2013 at 9:19 AM, Angelo Schiavone <
angelo.schiavone at gmail.com> wrote:

> NIT and BAT p_end needs a + 2 because Transport stream loop length does not
>
> include its 2 bytes; it represents the amount of bytes in the loop, excluding itself bytes.
>
>
> 2013/1/24 Angelo Schiavone <angelo.schiavone at gmail.com>
>
>> Hi,
>> NIT and BAT table already start at the right location
>> but the problem with them is (as pointed out in the patch)
>> with the calculation of p_end which needs a +2 otherwise
>> decoder may miss last descriptor in the loop.
>> attached the patch against last commit.
>> thanks
>>
>
Ah, I looked at the wrong descriptor loop length. Patch is applied and will
show up shortly in the videolan repository.

Kind regards,

Jean-Paul Saman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libdvbpsi-devel/attachments/20130128/20f3d6a8/attachment.html>


More information about the libdvbpsi-devel mailing list