Author | SHA1 | Message | Date |
---|---|---|---|
|
cea3a63ba3 |
avutil/buffer: Fix race in pool.
This race will always happen sooner or later in a multi-threaded environment and it will over time lead to OOM. This fix works by spinning, there are other ways by which this can be fixed, like simply detecting the issue after it happened and freeing the over-allocated memory or simply using a mutex. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> |
12 years ago |
|
1cec0624d0 | AVBuffer: add a new API for buffer pools | 12 years ago |
|
8e401dbe90 | lavu: add a new API for reference-counted data buffers. | 12 years ago |