diff options
| author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-03-23 15:52:33 +0000 |
|---|---|---|
| committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-03-23 15:52:33 +0000 |
| commit | 2f6bd99aa3b9e9bee0601f90ab6e772c011c50ad (patch) | |
| tree | cd7f9c17d69ed0a3213d94f2c05331363f04e9b0 /src/demuxers/demux_tta.c | |
| parent | 7a29f15cf90a3629185ef1f3987e24a3910785db (diff) | |
| download | xine-lib-2f6bd99aa3b9e9bee0601f90ab6e772c011c50ad.tar.gz xine-lib-2f6bd99aa3b9e9bee0601f90ab6e772c011c50ad.tar.bz2 | |
Replace various malloc(x*sizeof(y)) with calloc(x,sizeof(y)).
Diffstat (limited to 'src/demuxers/demux_tta.c')
| -rw-r--r-- | src/demuxers/demux_tta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demuxers/demux_tta.c b/src/demuxers/demux_tta.c index f6eadd652..f0dd2612e 100644 --- a/src/demuxers/demux_tta.c +++ b/src/demuxers/demux_tta.c @@ -87,7 +87,7 @@ static int open_tta_file(demux_tta_t *this) { return 0; } - this->seektable = xine_xmalloc(sizeof(uint32_t)*this->totalframes); + this->seektable = calloc(this->totalframes, sizeof(uint32_t)); this->input->read(this->input, this->seektable, sizeof(uint32_t)*this->totalframes); /* Skip the CRC32 */ |
