diff options
author | Bradley Sepos <[email protected]> | 2019-09-10 12:04:02 -0400 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2019-09-10 12:04:02 -0400 |
commit | bbc27a32048fe6631116e5c5e66d7eebca1b7070 (patch) | |
tree | a0470380ea74a568ca9be7943cdac44b5e2776a7 /libhb/decvobsub.c | |
parent | efed86c42690d4f9475535e7dd906c48f2421eb5 (diff) |
libhb: Remove a useless pointer check from decvobsub.c.
#1754.
Diffstat (limited to 'libhb/decvobsub.c')
-rw-r--r-- | libhb/decvobsub.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libhb/decvobsub.c b/libhb/decvobsub.c index 698661111..344b423f3 100644 --- a/libhb/decvobsub.c +++ b/libhb/decvobsub.c @@ -168,10 +168,7 @@ int decsubWork( hb_work_object_t * w, hb_buffer_t ** buf_in, /* We got a complete subtitle, decode it */ *buf_out = Decode( w ); - if( buf_out && *buf_out ) - { - (*buf_out)->s.id = in->s.id; - } + (*buf_out)->s.id = in->s.id; /* Wait for the next one */ pv->size_sub = 0; |