From ab3e5c8602f52d8b5a0d0335511ee3e016e755a2 Mon Sep 17 00:00:00 2001 From: phintuka Date: Mon, 1 Aug 2011 12:23:39 +0000 Subject: Removed unneeded check --- xine/BluRay/demux_ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit v1.2.3