changeset 33715:f4264c071f4f

Remove condition that is now always true.
author reimar
date Sun, 03 Jul 2011 09:46:18 +0000
parents 5fda3578d1c5
children 80c636fb5753
files stream/cache2.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stream/cache2.c	Sun Jul 03 09:45:29 2011 +0000
+++ b/stream/cache2.c	Sun Jul 03 09:46:18 2011 +0000
@@ -636,8 +636,7 @@
     case STREAM_CTRL_SEEK_TO_CHAPTER:
     case STREAM_CTRL_SEEK_TO_TIME:
     case STREAM_CTRL_SET_ANGLE:
-      if (s->control_res != STREAM_UNSUPPORTED)
-          stream->pos = s->read_filepos = s->control_new_pos;
+      stream->pos = s->read_filepos = s->control_new_pos;
       break;
   }
   return s->control_res;