comparison src/mediastreamer/msfifo.c @ 12029:1c771536a032

[gaim-migrate @ 14322] This _compiles_ for me now. Theres still a bunch of "dereferencing type-punned pointer will break strict-aliasing rules" warning and some redefinition warnings from the various config.h's. The deferencing warnings look like a BE<->LE hack but I left them untouched for the time being. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Wed, 09 Nov 2005 09:57:33 +0000
parents e67993da8a22
children
comparison
equal deleted inserted replaced
12028:b0ad08e1d492 12029:1c771536a032
52 { 52 {
53 MSFifo *fifo; 53 MSFifo *fifo;
54 MSBuffer *buf; 54 MSBuffer *buf;
55 gint saved_offset=MAX(r_gran+r_offset,w_offset); 55 gint saved_offset=MAX(r_gran+r_offset,w_offset);
56 gint fifo_size; 56 gint fifo_size;
57 gint tmp;
58 if (min_fifo_size==0) min_fifo_size=w_gran; 57 if (min_fifo_size==0) min_fifo_size=w_gran;
59 58
60 /* we must allocate a fifo with a size multiple of min_fifo_size, 59 /* we must allocate a fifo with a size multiple of min_fifo_size,
61 with a saved_offset */ 60 with a saved_offset */
62 if (min_fifo_size>MS_BUFFER_LARGE) 61 if (min_fifo_size>MS_BUFFER_LARGE)