On Wed, Oct 21, 2015 at 11:04:39AM +0200, wm4 wrote: > On Wed, 21 Oct 2015 09:00:33 +0200 > Julian Scheel <jul...@jusst.de> wrote: > > > 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 <jul...@jusst.de> > > --- > > 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; > > } > > Looks good. My original patch used assert(), which I now realized was > unfortunately completely disabled.
applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Let us carefully observe those good qualities wherein our enemies excel us and endeavor to excel them, by avoiding what is faulty, and imitating what is excellent in them. -- Plutarch
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel