Commit b853d6aa authored by Clément Bœsch's avatar Clément Bœsch

Merge commit 'd82d5379'

* commit 'd82d5379':
  mmaldec: initialize refcount using atomic_init()
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents efb0ea2a d82d5379
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment