Skip to content
Commits on Source (3)
......@@ -3,6 +3,7 @@ Changes between 1.3.1 and 1.3.2:
* Fix bug in dvbpsi_decoder_psi_section_add() set i_last_section_number
* Fix bug in descriptor 0x8a that prevented it from being parsed properly
* Fix bug in descriptor 0x56 generation with multiple teletext page entries
Changes between 1.3.0 and 1.3.1:
--------------------------------
......
AC_INIT([libdvbpsi], [1.3.1])
AC_INIT([libdvbpsi], [1.3.2])
AC_PREREQ([2.50])
AC_CONFIG_AUX_DIR([.auto])
......
......@@ -38,7 +38,7 @@ PROJECT_NAME = libdvbpsi
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER = 1.3.1
PROJECT_NUMBER = 1.3.2
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
......
......@@ -78,6 +78,9 @@ rm -rf %buildroot
%{_includedir}/*
%changelog
* Mon Oct 16 2017 Jean-Paul Saman <jpsaman@videolan.org - 1.3.2
- bugfixes
* Tue Feb 7 2017 Jean-Paul Saman <jpsaman@videolan.org - 1.3.1
- bugfixes
......
......@@ -112,15 +112,15 @@ dvbpsi_descriptor_t * dvbpsi_GenTeletextDr(dvbpsi_teletext_dr_t * p_decoded,
/* Encode data */
for (int i = 0; i < p_decoded->i_pages_number; i++ )
{
memcpy( p_descriptor->p_data + 8 * i,
memcpy( p_descriptor->p_data + 5 * i,
p_decoded->p_pages[i].i_iso6392_language_code,
3);
p_descriptor->p_data[8 * i + 3] =
p_descriptor->p_data[5 * i + 3] =
(uint8_t) ( ( (uint8_t) p_decoded->p_pages[i].i_teletext_type << 3 ) |
( (uint8_t) p_decoded->p_pages[i].i_teletext_magazine_number & 0x07 ) );
p_descriptor->p_data[8 * i + 4] =
p_descriptor->p_data[5 * i + 4] =
p_decoded->p_pages[i].i_teletext_page_number;
}
......