]> git.sesse.net Git - vlc/commit
dvdnav: fully fix the still image assertion
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 15 Apr 2010 16:10:12 +0000 (19:10 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 15 Apr 2010 16:13:00 +0000 (19:13 +0300)
commitb28c362339ac8ef7f3b9b1715631f304e7563418
tree5d57c2c2737c976b96ba181b586f4f0a355bc192
parent8855ec28974a95e25ea6f4c52a5a1fd81876976b
dvdnav: fully fix the still image assertion

This completes 24ae7ed55e206a37571d0d39a3d21353936f9a64. Even if the
timer is removed from the schedule, there is no warranty that it's not
pending execution, or waiting on our mutex, at the very moment.
So there is a small window of opportunity for the assertion to fail.

This removes the assertion in favor of a safer if(likely()).
modules/access/dvdnav.c