Mercurial > mplayer.hg
diff stream/realrtsp/xbuffer.c @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | 64d82a45a05d |
children | ce0122361a39 |
line wrap: on
line diff
--- a/stream/realrtsp/xbuffer.c Tue May 12 19:25:35 2009 +0000 +++ b/stream/realrtsp/xbuffer.c Wed May 13 02:58:57 2009 +0000 @@ -1,4 +1,4 @@ -/* +/* * xbuffer code * * Includes a minimalistic replacement for xine_buffer functions used in @@ -28,7 +28,7 @@ -void *xbuffer_init(int chunk_size) { +void *xbuffer_init(int chunk_size) { uint8_t *data=calloc(1,chunk_size+XBUFFER_HEADER_SIZE); xbuffer_header_t *header=(xbuffer_header_t*)data; @@ -75,7 +75,7 @@ } xbuf = ((xbuffer_header_t*)(((uint8_t*)buf)-XBUFFER_HEADER_SIZE)); - + if (xbuf->size < size) { new_size = size + xbuf->chunk_size - (size % xbuf->chunk_size); xbuf->size = new_size;