summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/dvdnav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/dvdnav.c b/libhb/dvdnav.c
index 84895caca..59e1ac67e 100644
--- a/libhb/dvdnav.c
+++ b/libhb/dvdnav.c
@@ -1003,7 +1003,6 @@ static int hb_dvdnav_read( hb_dvd_t * e, hb_buffer_t * b )
}
continue;
}
- error_count = 0;
switch ( event )
{
case DVDNAV_BLOCK_OK:
@@ -1015,6 +1014,7 @@ static int hb_dvdnav_read( hb_dvd_t * e, hb_buffer_t * b )
if (chapter > 1)
b->new_chap = chapter;
chapter = 0;
+ error_count = 0;
return 1;
case DVDNAV_NOP: