Re: [libav-devel] [PATCH] mmaldec: initialize refcount using atomic_init().

2016-12-01 Thread Luca Barbato
On 30/11/2016 20:52, Wan-Teh Chang wrote: > This is how we initialize refcount in libavutil/buffer.c. > > Signed-off-by: Wan-Teh Chang > --- > libavcodec/mmaldec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c > index 924bfb

Re: [libav-devel] [PATCH] mmaldec: initialize refcount using atomic_init().

2016-11-30 Thread Wan-Teh Chang
I also noticed that |refcount| is declared as atomic_int in libavcodec/mmaldec.c but declared as atomic_uint in libavutil/buffer_internal.h. It would be nice to be consistent. Wan-Teh Chang ___ libav-devel mailing list libav-devel@libav.org https://lists