Skip to content
Snippets Groups Projects
Commit 4497712f authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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

Originally committed as revision 7575 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent be65b41f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment