summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2011-08-01 12:23:39 +0000
committerphintuka <phintuka>2011-08-01 12:23:39 +0000
commitab3e5c8602f52d8b5a0d0335511ee3e016e755a2 (patch)
tree3dfe3c9003dababf3bdf8cb1f02935abeeb45a68
parentd1a1b82dee77c6547ecc4bfbe33d5e54ddaa5550 (diff)
downloadxineliboutput-ab3e5c8602f52d8b5a0d0335511ee3e016e755a2.tar.gz
xineliboutput-ab3e5c8602f52d8b5a0d0335511ee3e016e755a2.tar.bz2
Removed unneeded check
-rw-r--r--xine/BluRay/demux_ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xine/BluRay/demux_ts.c b/xine/BluRay/demux_ts.c
index 62a0574a..7fe0d965 100644
--- a/xine/BluRay/demux_ts.c
+++ b/xine/BluRay/demux_ts.c
@@ -1249,7 +1249,7 @@ static void demux_ts_parse_pmt (demux_ts_t *this,
pkt+=pkt[4]; /* pointer to start of section */
offset=1;
- if (this->pmt[program_count] != NULL) free(this->pmt[program_count]);
+ free(this->pmt[program_count]);
this->pmt[program_count] = (uint8_t *) calloc(4096, sizeof(unsigned char));
this->pmt_write_ptr[program_count] = this->pmt[program_count];