summaryrefslogtreecommitdiff
path: root/mediarev.c
diff options
context:
space:
mode:
Diffstat (limited to 'mediarev.c')
-rw-r--r--mediarev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mediarev.c b/mediarev.c
index 9877561..777e786 100644
--- a/mediarev.c
+++ b/mediarev.c
@@ -77,6 +77,10 @@ int parsemediagz(char * media_path, med * cur_media, int * no_of_media)
}
strcpy(cur_line,""); /* reset cur_line */
}
+
+ if(*no_of_media == -1)
+ return 1;
+
return 0;
}