[FFmpeg-cvslog] mmaldec: Fix avpriv_atomic_get usage
Julian Scheel
git at videolan.org
Wed Oct 21 15:16:56 CEST 2015
ffmpeg | branch: master | Julian Scheel <julian at jusst.de> | Wed Oct 21 09:00:33 2015 +0200| [da43e9e157a3c64337348b44193ab390bd481911] | committer: Michael Niedermayer
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 at jusst.de>
Reviewed-by: wm4 <nfxjfg at googlemail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=da43e9e157a3c64337348b44193ab390bd481911
---
libavcodec/mmaldec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c
index bb8f17b..13cc191 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;
}
More information about the ffmpeg-cvslog
mailing list