[FFmpeg-devel] [PATCH] lavc/utils: simplify lockmgr
Timothy Gu
timothygu99 at gmail.com
Thu Nov 30 09:34:03 EET 2017
On Sun, Nov 26, 2017 at 8:44 PM Rostislav Pehlivanov <atomnuker at gmail.com>
wrote:
> @@ -103,8 +104,7 @@ static int default_lockmgr_cb(void **arg, enum
> AVLockOp op)
> case AV_LOCK_DESTROY:
> if (*mutex)
> pthread_mutex_destroy(*mutex);
> - av_free(*mutex);
> - avpriv_atomic_ptr_cas(mutex, *mutex, NULL);
> + av_freep(*mutex);
>
av_freep(mutex)? Probably why Michael is seeing the crash.
Timothy
More information about the ffmpeg-devel
mailing list