Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fftools/objpool: Don't use return with expression when returning void | Andreas Rheinhardt | 2022-07-23 | 1 | -2/+2 |
| | | | | | | | | | | | Using tail calls with functions returning void is forbidden (C99/C11 6.8.6.4: "A return statement with an expression shall not appear in a function whose return type is void.") GCC emits a warning because of this when using -pedantic: "ISO C forbids ‘return’ with expression, in function returning void" Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | fftools: add an object pool | Anton Khirnov | 2022-07-23 | 1 | -0/+131 |
Allows to avoid constantly allocating and freeing objects like AVFrame or AVPacket. |