Commit 55cf5561 authored by massiot's avatar massiot

* demux.c: Minor optimization of EIT handling, patch by Marian.


git-svn-id: svn://svn.videolan.org/dvblast/trunk@62 55d3f8b6-4a41-4d2d-a900-313d1436a5b8
parent a960194c
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* *
* Authors: Christophe Massiot <massiot@via.ecp.fr> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* Andy Gatward <a.j.gatward@reading.ac.uk> * Andy Gatward <a.j.gatward@reading.ac.uk>
* Marian Ďurkovič <md@bts.sk>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -775,9 +776,8 @@ static void SendEIT( dvbpsi_psi_section_t *p_section, uint16_t i_sid, ...@@ -775,9 +776,8 @@ static void SendEIT( dvbpsi_psi_section_t *p_section, uint16_t i_sid,
{ {
p_section->p_data[8] = (pp_outputs[i]->i_ts_id >> 8) & 0xff; p_section->p_data[8] = (pp_outputs[i]->i_ts_id >> 8) & 0xff;
p_section->p_data[9] = pp_outputs[i]->i_ts_id & 0xff; p_section->p_data[9] = pp_outputs[i]->i_ts_id & 0xff;
}
dvbpsi_BuildPSISection( p_section ); dvbpsi_BuildPSISection( p_section );
}
p_block = WritePSISection( p_section, p_block = WritePSISection( p_section,
EIT_PID, EIT_PID,
......
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