changeset 32503:5c4e7dcd8956

100l, add missing return.
author reimar
date Sat, 06 Nov 2010 19:34:57 +0000
parents 9705236ce079
children 5ab4633a9d4d
files stream/stream_dvd.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvd.c	Sat Nov 06 19:33:30 2010 +0000
+++ b/stream/stream_dvd.c	Sat Nov 06 19:34:57 2010 +0000
@@ -417,6 +417,7 @@
 {
     off_t pos=dvd_read_sector(s->priv,s->buffer);
   if (pos < 0)
+    return -1;
   s->pos = 2048*(pos - 1);
   return 2048; // full sector
 }