mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 09:59:50 +00:00
fifo: add note in av_fifo_realloc2() doxy regarding reallocation failure behavior
This commit is contained in:
parent
0629b1ff35
commit
bf917e26e1
@ -94,6 +94,8 @@ int av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Resize an AVFifoBuffer.
|
* Resize an AVFifoBuffer.
|
||||||
|
* In case of reallocation failure, the old FIFO is kept unchanged.
|
||||||
|
*
|
||||||
* @param f AVFifoBuffer to resize
|
* @param f AVFifoBuffer to resize
|
||||||
* @param size new AVFifoBuffer size in bytes
|
* @param size new AVFifoBuffer size in bytes
|
||||||
* @return <0 for failure, >=0 otherwise
|
* @return <0 for failure, >=0 otherwise
|
||||||
|
Loading…
Reference in New Issue
Block a user