Commit 2689bb11 authored by Julian Scheel's avatar Julian Scheel Committed by Anton Khirnov

mmaldec: Fix avpriv_atomic_get usage

There is no avpriv_atomic_get, instead avpriv_atomic_int_get is to be used for
integers. This fixes building mmaldec.
Signed-off-by: 's avatarJulian Scheel <julian@jusst.de>
Reviewed-by: 's avatarwm4 <nfxjfg@googlemail.com>
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 366ba2de
...@@ -166,7 +166,7 @@ static void ffmmal_stop_decoder(AVCodecContext *avctx) ...@@ -166,7 +166,7 @@ static void ffmmal_stop_decoder(AVCodecContext *avctx)
} }
ctx->waiting_buffers_tail = NULL; ctx->waiting_buffers_tail = NULL;
av_assert0(avpriv_atomic_get(&ctx->packets_buffered) == 0); av_assert0(avpriv_atomic_int_get(&ctx->packets_buffered) == 0);
ctx->frames_output = ctx->eos_received = ctx->eos_sent = ctx->packets_sent = ctx->extradata_sent = 0; ctx->frames_output = ctx->eos_received = ctx->eos_sent = ctx->packets_sent = ctx->extradata_sent = 0;
} }
......
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