summaryrefslogtreecommitdiffstats
path: root/libhb/reader.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-06-29 16:05:38 +0000
committerjstebbins <[email protected]>2015-06-29 16:05:38 +0000
commit10f6690cfa1ebbd5a837e03f70d011b51ea7690a (patch)
tree7cbd3196b1367cade621ae14fe932778bc4d86bd /libhb/reader.c
parentaf9de404779378e28af413d18291975dedd68861 (diff)
libhb: detect read errors and propagate
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7332 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/reader.c')
-rw-r--r--libhb/reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/reader.c b/libhb/reader.c
index d730c1f09..9c742e6fd 100644
--- a/libhb/reader.c
+++ b/libhb/reader.c
@@ -81,7 +81,7 @@ static int hb_reader_open( hb_work_private_t * r )
}
else if ( r->title->type == HB_DVD_TYPE )
{
- if ( !( r->dvd = hb_dvd_init( r->title->path ) ) )
+ if ( !( r->dvd = hb_dvd_init( r->h, r->title->path ) ) )
return 1;
}
else if ( r->title->type == HB_STREAM_TYPE ||