Commit 339b5f21 authored by mbenoit's avatar mbenoit Committed by Jean-Paul Saman

descriptors/dr_56: Fix teletext_descriptor (0x56) generation (wrong size allocation)

Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
parent 7f8c1519
......@@ -105,7 +105,7 @@ dvbpsi_descriptor_t * dvbpsi_GenTeletextDr(dvbpsi_teletext_dr_t * p_decoded,
/* Create the descriptor */
dvbpsi_descriptor_t * p_descriptor =
dvbpsi_NewDescriptor(0x56, p_decoded->i_pages_number * 8 , NULL);
dvbpsi_NewDescriptor(0x56, p_decoded->i_pages_number * 5 , NULL);
if (!p_descriptor)
return NULL;
......
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