Hey all, I started reading ffplay.c today. I came a function/macro SDL_LockMutex(q->mutex) inside a packet enqueue function. Is this done to prevent other threads from accessing the queue, when one thread is processing on it? Also, where can I get to read the algorithms used in ffplay? Regards, canaar