diff options
Diffstat (limited to 'libhb/decvobsub.c')
-rw-r--r-- | libhb/decvobsub.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libhb/decvobsub.c b/libhb/decvobsub.c index 2a5ccab01..c4474f9aa 100644 --- a/libhb/decvobsub.c +++ b/libhb/decvobsub.c @@ -98,6 +98,15 @@ int decsubWork( hb_work_object_t * w, hb_buffer_t ** buf_in, pv->pts = in->start; } } + else + { + // bad size, must have lost sync + // force re-sync + if ( pv->buf != NULL ) + hb_buffer_close( &pv->buf ); + pv->size_sub = 0; + } + } *buf_out = NULL; |