summaryrefslogtreecommitdiffstats
path: root/libhb/deca52.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-10-26 22:44:49 +0000
committerRodeo <[email protected]>2012-10-26 22:44:49 +0000
commita71548f7c91eb6485394603c07bdcd75609c8412 (patch)
tree668176dc8a5ef4c09a39ad2aedaac9d7b5e51b07 /libhb/deca52.c
parentf549e095e81420a26139f6b3b55d9b72c8360659 (diff)
deca52: remove an unnecessary instruction.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5028 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/deca52.c')
-rw-r--r--libhb/deca52.c14
1 files changed, 6 insertions, 8 deletions
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;
}