aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mmaldec.c
diff options
context:
space:
mode:
authorJulian Scheel <julian@jusst.de>2015-10-21 09:00:33 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-10-21 15:01:36 +0200
commitda43e9e157a3c64337348b44193ab390bd481911 (patch)
tree3b2db5f329c76ae731d6315d655a2b5c10aff3be /libavcodec/mmaldec.c
parent4da52e3630343e8d3a79aef2cafcb6bf0b71e8da (diff)
downloadffmpeg-da43e9e157a3c64337348b44193ab390bd481911.tar.gz
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: Julian Scheel <julian@jusst.de> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mmaldec.c')
-rw-r--r--libavcodec/mmaldec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c
index bb8f17b39b..13cc191ff1 100644
--- a/libavcodec/mmaldec.c
+++ b/libavcodec/mmaldec.c
@@ -165,7 +165,7 @@ static void ffmmal_stop_decoder(AVCodecContext *avctx)
}
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;
}