Mercurial > libavformat.hg
comparison aviobuf.c @ 122:013a7a0f2a1f libavformat
* keeping compiler happy and quiet
author | kabi |
---|---|
date | Wed, 23 Apr 2003 18:38:34 +0000 |
parents | 69ed49c151bf |
children | a313e1080322 |
comparison
equal
deleted
inserted
replaced
121:b9bd706c1ac3 | 122:013a7a0f2a1f |
---|---|
554 | 554 |
555 static void dyn_buf_write(void *opaque, uint8_t *buf, int buf_size) | 555 static void dyn_buf_write(void *opaque, uint8_t *buf, int buf_size) |
556 { | 556 { |
557 DynBuffer *d = opaque; | 557 DynBuffer *d = opaque; |
558 int new_size, new_allocated_size; | 558 int new_size, new_allocated_size; |
559 uint8_t *new_buffer; | |
560 | 559 |
561 /* reallocate buffer if needed */ | 560 /* reallocate buffer if needed */ |
562 new_size = d->pos + buf_size; | 561 new_size = d->pos + buf_size; |
563 new_allocated_size = d->allocated_size; | 562 new_allocated_size = d->allocated_size; |
564 while (new_size > new_allocated_size) { | 563 while (new_size > new_allocated_size) { |