simpler branch structure in init (16 bytes smaller object file)
Originally committed as revision 7575 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
be65b41f90
commit
4497712f09
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue