Commit 4cb70e30 authored by michael's avatar michael

simpler branch structure in init (16 bytes smaller object file)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7575 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent eeda26bc
......@@ -26,9 +26,9 @@ int av_fifo_init(AVFifoBuffer *f, int size)
{
f->wptr = f->rptr =
f->buffer = av_malloc(size);
f->end = f->buffer + size;
if (!f->buffer)
return -1;
f->end = f->buffer + size;
return 0;
}
......
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