Commit b8146fc6 authored by Gildas Bazin's avatar Gildas Bazin

* src/descriptors/dr_59.c: fixed dvb subtitles descriptor generation.

parent 6501d6f6
/***************************************************************************** /*****************************************************************************
* dr_48.c * dr_48.c
* (c)2001-2002 VideoLAN * (c)2001-2002 VideoLAN
* $Id: dr_59.c,v 1.1 2003/11/06 16:20:30 nitrox Exp $ * $Id$
* *
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
* Tristan Leteurtre <tristan.leteurtre@anevia.com> * Tristan Leteurtre <tristan.leteurtre@anevia.com>
...@@ -124,7 +124,7 @@ dvbpsi_descriptor_t * dvbpsi_GenSubtitlingDr( ...@@ -124,7 +124,7 @@ dvbpsi_descriptor_t * dvbpsi_GenSubtitlingDr(
/* Create the descriptor */ /* Create the descriptor */
dvbpsi_descriptor_t * p_descriptor = dvbpsi_descriptor_t * p_descriptor =
dvbpsi_NewDescriptor(0x59, 2 + p_decoded->i_subtitles_number * 8 , NULL); dvbpsi_NewDescriptor(0x59, p_decoded->i_subtitles_number * 8 , NULL);
if(p_descriptor) if(p_descriptor)
{ {
......
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