summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/decssasub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/decssasub.c b/libhb/decssasub.c
index 99e4259a0..c02de3e85 100644
--- a/libhb/decssasub.c
+++ b/libhb/decssasub.c
@@ -370,7 +370,7 @@ static hb_buffer_t *ssa_decode_line_to_picture( hb_work_object_t * w, uint8_t *i
int changed;
ASS_Image *frameList = ass_render_frame( pv->renderer, pv->ssaTrack, renderTime / 90, &changed );
- if ( !changed && !frameList )
+ if ( !changed || !frameList )
return NULL;
int numFrames = 0;