diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-02 16:34:15 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-04 08:04:04 +0200 |
commit | 5c0e2f839af1654c65170d336640d260bfffdefa (patch) | |
tree | c8a755713ce06056907e74e7b2a895cf5cdf5d75 /CONTRIBUTING.md | |
parent | 16fc8cef746fa9d600b96636c0d42e47c5594d03 (diff) | |
download | ffmpeg-5c0e2f839af1654c65170d336640d260bfffdefa.tar.gz |
avcodec/omx: Check initializing mutexes/conditions
The earlier code did not properly check these initializations:
It only recorded whether the part of init where these initializations
are has been reached, but it did not check whether the initializations
were successful, although destroying them would be undefined behaviour
if they had not been initialized successfully.
Furthermore cleanup() always locked a mutex regardless of whether there
was any attempt to initialize these mutexes at all.
Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions