mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-10-19 09:53:18 +00:00
Merge commit 'd82d5379ca
'
* commit 'd82d5379ca
':
mmaldec: initialize refcount using atomic_init()
Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
b853d6aa5b
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ static int ffmal_update_format(AVCodecContext *avctx)
|
|||
ret = AVERROR(ENOMEM);
|
||||
goto fail;
|
||||
}
|
||||
atomic_store(&ctx->pool_out->refcount, 1);
|
||||
atomic_init(&ctx->pool_out->refcount, 1);
|
||||
|
||||
if (!format_out)
|
||||
goto fail;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue