Commit c7576664 authored by massiot's avatar massiot

* demux.c: Take into account biTStream's header change.


git-svn-id: svn://svn.videolan.org/dvblast/trunk@158 55d3f8b6-4a41-4d2d-a900-313d1436a5b8
parent 3d4bae0a
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#include <bitstream/mpeg/pes.h> #include <bitstream/mpeg/pes.h>
#include <bitstream/mpeg/psi.h> #include <bitstream/mpeg/psi.h>
#include <bitstream/dvb/si.h> #include <bitstream/dvb/si.h>
#include <bitstream/dvb/si_print.h>
#include <bitstream/mpeg/psi_print.h> #include <bitstream/mpeg/psi_print.h>
/***************************************************************************** /*****************************************************************************
...@@ -1044,8 +1045,6 @@ static void NewPMT( output_t *p_output ) ...@@ -1044,8 +1045,6 @@ static void NewPMT( output_t *p_output )
static void NewNIT( output_t *p_output ) static void NewNIT( output_t *p_output )
{ {
uint8_t *p_ts; uint8_t *p_ts;
uint8_t *p_descs;
uint8_t *p_desc;
uint8_t *p_header2; uint8_t *p_header2;
uint8_t *p; uint8_t *p;
...@@ -1067,6 +1066,8 @@ static void NewNIT( output_t *p_output ) ...@@ -1067,6 +1066,8 @@ static void NewNIT( output_t *p_output )
if ( p_network_name != NULL ) if ( p_network_name != NULL )
{ {
uint8_t *p_descs;
uint8_t *p_desc;
nit_set_desclength( p, DESCS_MAX_SIZE ); nit_set_desclength( p, DESCS_MAX_SIZE );
p_descs = nit_get_descs( p ); p_descs = nit_get_descs( p );
p_desc = descs_get_desc( p_descs, 0 ); p_desc = descs_get_desc( p_descs, 0 );
......
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