From a71548f7c91eb6485394603c07bdcd75609c8412 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Fri, 26 Oct 2012 22:44:49 +0000 Subject: deca52: remove an unnecessary instruction. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5028 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/deca52.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'libhb/deca52.c') diff --git a/libhb/deca52.c b/libhb/deca52.c index 922b88132..d605a8dd7 100644 --- a/libhb/deca52.c +++ b/libhb/deca52.c @@ -394,16 +394,14 @@ static hb_buffer_t* Decode(hb_work_object_t *w) hb_buffer_close(&flt); } - if (out == NULL) + if (out != NULL) { - return NULL; + out->s.start = pts; + out->s.duration = frame_dur; + pts += frame_dur; + out->s.stop = pts; + pv->next_expected_pts = pts; } - - out->s.start = pts; - out->s.duration = frame_dur; - pts += frame_dur; - out->s.stop = pts; - pv->next_expected_pts = pts; return out; } -- cgit v1.2.3