diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-04-19 01:54:11 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-04-19 01:54:11 +0200 |
commit | 95973431372272b749762591cd4b82fe7e587a84 (patch) | |
tree | ca727d5a952c9b00c717274bc632c1690e7bb98c /src/demuxers/demux_real.c | |
parent | dd702a3abc16986a2bbc3d3429fce1f621f94c0d (diff) | |
download | xine-lib-95973431372272b749762591cd4b82fe7e587a84.tar.gz xine-lib-95973431372272b749762591cd4b82fe7e587a84.tar.bz2 |
Replace xine_xcalloc usage with calloc, for the revisions transplanted from 1.2 series.
Diffstat (limited to 'src/demuxers/demux_real.c')
-rw-r--r-- | src/demuxers/demux_real.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_real.c b/src/demuxers/demux_real.c index 6e6ce6f4f..5a20ac92b 100644 --- a/src/demuxers/demux_real.c +++ b/src/demuxers/demux_real.c @@ -769,7 +769,7 @@ unknown: this->video_stream->mdpr->avg_bit_rate); /* Allocate fragment offset table */ - this->fragment_tab = xine_xcalloc(FRAGMENT_TAB_SIZE, sizeof(uint32_t)); + this->fragment_tab = calloc(FRAGMENT_TAB_SIZE, sizeof(uint32_t)); this->fragment_tab_max = FRAGMENT_TAB_SIZE; } @@ -1386,7 +1386,7 @@ static int demux_real_send_chunk(demux_plugin_t *this_gen) { frames = (stream_read_word(this) & 0xf0) >> 4; /* 2 bytes per frame size */ - sizes = xine_xcalloc(frames, sizeof(int)); + sizes = calloc(frames, sizeof(int)); for(i = 0; i < frames; i++) sizes[i] = stream_read_word(this); |