resindvd: Make the next/prev angle switching cycle at the ends
authorJan Schmidt <thaytan@noraisin.net>
Tue, 5 May 2009 10:34:26 +0000 (11:34 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Wed, 6 May 2009 19:19:48 +0000 (20:19 +0100)
commit874549b5360ad897e11f809e929d62803a7b5f2f
tree82e35568f82ba1c83f490a37ea453d5f293862cc
parent9542d9e2513c0d88a8de65c7585e0d81b7249dda
resindvd: Make the next/prev angle switching cycle at the ends

When the current angle is 1 and prev_angle is requested, loop to the
maximum angle and vice versa for next_angle
ext/resindvd/resindvdsrc.c