| ... | ... |
@@ -94,6 +94,8 @@ int av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void |
| 94 | 94 |
|
| 95 | 95 |
/** |
| 96 | 96 |
* Resize an AVFifoBuffer. |
| 97 |
+ * In case of reallocation failure, the old FIFO is kept unchanged. |
|
| 98 |
+ * |
|
| 97 | 99 |
* @param f AVFifoBuffer to resize |
| 98 | 100 |
* @param size new AVFifoBuffer size in bytes |
| 99 | 101 |
* @return <0 for failure, >=0 otherwise |