summaryrefslogtreecommitdiff
path: root/lib/dvdabstract.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dvdabstract.cpp')
-rw-r--r--lib/dvdabstract.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/dvdabstract.cpp b/lib/dvdabstract.cpp
index 9e2370f..12d33c4 100644
--- a/lib/dvdabstract.cpp
+++ b/lib/dvdabstract.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: dvdabstract.cpp,v 1.3 2005-11-13 13:43:22 pixel Exp $ */
+/* $Id: dvdabstract.cpp,v 1.4 2006-02-02 14:09:49 pixel Exp $ */
#include "dvdabstract.h"
@@ -34,7 +34,11 @@ off_t dvdabstract::seek(off_t offset, int wheel) throw (GeneralException) {
break;
case SEEK_END:
throw IOGeneral("Can't seek from the end of the dvdabstract...");
+ default:
+ throw IOGeneral("Invalid seek wheel.");
}
+
+ return v;
}
off_t dvdabstract::tell() const {