[FFmpeg-devel] [ffplay.c] do we need a lock for is->refresh
cus at passwd.hu
Wed Mar 21 22:59:24 CET 2012
On Wed, 21 Mar 2012, REN Lifeng wrote:
> Both refresh_thread and the main thread (event_loop) may modify
> is->refresh. So, do we need a mutex?
No, I think we don't, because refresh thread is only setting it from 0 to
1, event loop is only setting it from 1 to 0.
> I do not see any bug been triggered by it, though.
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel