diff options
Diffstat (limited to 'dvbapi.c')
-rw-r--r-- | dvbapi.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -7,7 +7,7 @@ * DVD support initially written by Andreas Schultz <aschultz@warp10.net> * based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si> * - * $Id: dvbapi.c 1.144 2002/01/26 13:42:15 kls Exp $ + * $Id: dvbapi.c 1.145 2002/01/26 15:28:41 kls Exp $ */ //#define DVDDEBUG 1 @@ -2371,6 +2371,10 @@ void cCuttingBuffer::Action(void) int FileOffset, Length; uchar PictureType; + // Make sure there is enough disk space: + + AssertFreeDiskSpace(); + // Read one frame: if (fromIndex->Get(Index++, &FileNumber, &FileOffset, &PictureType, &Length)) { |