Commit 33848ccb authored by reimar's avatar reimar

Merge declaration and initialization


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20214 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent bd643917
......@@ -104,10 +104,8 @@ void put_byte(ByteIOContext *s, int b)
void put_buffer(ByteIOContext *s, const unsigned char *buf, int size)
{
int len;
while (size > 0) {
len = FFMIN(s->buf_end - s->buf_ptr, size);
int len = FFMIN(s->buf_end - s->buf_ptr, size);
memcpy(s->buf_ptr, buf, len);
s->buf_ptr += len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment