diff options
author | titer <[email protected]> | 2006-01-15 13:51:39 +0000 |
---|---|---|
committer | titer <[email protected]> | 2006-01-15 13:51:39 +0000 |
commit | 858555894dacb9cece778b4d49f693db0a29d473 (patch) | |
tree | d1144492c5c8249e02fc06b96060b6875b424c81 /libhb/scan.c | |
parent | f0746b160593e1237101cbef5e959d0dc04aaf70 (diff) |
Fixed dvd_seek for titles which are not linear
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@20 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/scan.c')
-rw-r--r-- | libhb/scan.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libhb/scan.c b/libhb/scan.c index f60392cea..c2814f362 100644 --- a/libhb/scan.c +++ b/libhb/scan.c @@ -239,7 +239,10 @@ static int DecodePreviews( hb_scan_t * data, hb_title_t * title ) FILE * file_preview; char filename[1024]; - hb_dvd_seek( data->dvd, (float) ( i + 1 ) / 11.0 ); + if( !hb_dvd_seek( data->dvd, (float) ( i + 1 ) / 11.0 ) ) + { + goto error; + } hb_log( "scan: preview %d", i + 1 ); |