[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xine-cvslog
Subject:    [xine-cvs] =?utf-8?q?HG=3A_xine-lib-1=2E2=3A_Comment_out_unreacha?= =?utf-8?q?ble_code?=
From:       Petri_Hintukainen via Xine-cvslog <xine-cvslog () lists ! sourceforge ! net
Date:       2017-11-16 11:17:42
Message-ID: 881faa6dfc47665d0e8e.1510826639 () hg ! debian ! org
[Download RAW message or body]

# HG changeset patch
# User Petri Hintukainen <phintuka@users.sourceforge.net>
# Date 1510826639 -7200
# Node ID 881faa6dfc47665d0e8e192ffbb231c216965333
# Branch  default
# Parent  d99a0d73d0c1378c56f165b577af0e383d9af0d2
Comment out unreachable code

diff --git a/src/demuxers/demux_mpeg_pes.c b/src/demuxers/demux_mpeg_pes.c
--- a/src/demuxers/demux_mpeg_pes.c
+++ b/src/demuxers/demux_mpeg_pes.c
@@ -114,7 +114,7 @@
 static int32_t parse_ancillary_stream(demux_mpeg_pes_t *this, uint8_t *p, \
buf_element_t *buf);  static int32_t \
parse_program_stream_system_header(demux_mpeg_pes_t *this, uint8_t *p, buf_element_t \
*buf);  static int32_t parse_private_stream_1(demux_mpeg_pes_t *this, uint8_t *p, \
                buf_element_t *buf);
-static int32_t parse_private_stream_2(demux_mpeg_pes_t *this, uint8_t *p, \
buf_element_t *buf); +//static int32_t parse_private_stream_2(demux_mpeg_pes_t *this, \
uint8_t *p, buf_element_t *buf);  static int32_t \
parse_program_stream_map(demux_mpeg_pes_t *this, uint8_t *p, buf_element_t *buf);  \
static int32_t parse_padding_stream(demux_mpeg_pes_t *this, uint8_t *p, buf_element_t \
*buf);  static int32_t parse_ecm_stream(demux_mpeg_pes_t *this, uint8_t *p, \
buf_element_t *buf); @@ -373,7 +373,7 @@
   } else if (this->stream_id == 0xBF) {
     buf->free_buffer (buf);
     return;
-    result = parse_private_stream_2(this, p, buf);
+    //result = parse_private_stream_2(this, p, buf);
   } else if ((this->stream_id >= 0xC0)
              && (this->stream_id <= 0xDF)) {
     result = parse_audio_stream(this, p, buf);
@@ -641,6 +641,7 @@
   return 6 + this->packet_len;
 }
 
+#if 0
 static int32_t parse_private_stream_2(demux_mpeg_pes_t *this, uint8_t *p, \
buf_element_t *buf) {  int64_t start_pts, end_pts;
 
@@ -711,6 +712,7 @@
 
   return this->packet_len;
 }
+#endif
 
 /* FIXME: Extension data is not parsed, and is also not skipped. */
 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Xine-cvslog mailing list
Xine-cvslog@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-cvslog


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic