mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit 'd82d5379caca21005d8906829b35361c4a65408e'
* commit 'd82d5379caca21005d8906829b35361c4a65408e': mmaldec: initialize refcount using atomic_init() Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
b853d6aa5b
@ -283,7 +283,7 @@ static int ffmal_update_format(AVCodecContext *avctx)
|
|||||||
ret = AVERROR(ENOMEM);
|
ret = AVERROR(ENOMEM);
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
atomic_store(&ctx->pool_out->refcount, 1);
|
atomic_init(&ctx->pool_out->refcount, 1);
|
||||||
|
|
||||||
if (!format_out)
|
if (!format_out)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
Loading…
Reference in New Issue
Block a user