summaryrefslogtreecommitdiffstats
path: root/libhb/rendersub.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2015-09-03 10:16:03 -0700
committerJohn Stebbins <[email protected]>2015-09-04 08:44:03 -0700
commit85133c49d2dc34060159c8f9f16cd508bb9d08d2 (patch)
tree2bc98d6385873e0b6699a8a2708f44d72220a538 /libhb/rendersub.c
parent93a0685f2cad12828ad62d112eb1ddaac1af3a32 (diff)
libhb: remove unused hb_buffer_t.sub
Diffstat (limited to 'libhb/rendersub.c')
-rw-r--r--libhb/rendersub.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libhb/rendersub.c b/libhb/rendersub.c
index 3c17c4a01..dee178d19 100644
--- a/libhb/rendersub.c
+++ b/libhb/rendersub.c
@@ -775,11 +775,7 @@ static void ApplyPGSSubs( hb_filter_private_t * pv, hb_buffer_t * buf )
sub = hb_list_item( pv->sub_list, 0 );
if ( sub->s.start <= buf->s.start )
{
- while ( sub )
- {
- ApplySub( pv, buf, sub );
- sub = sub->sub;
- }
+ ApplySub( pv, buf, sub );
}
}
}