summaryrefslogtreecommitdiffstats
path: root/libhb/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/stream.c')
-rw-r--r--libhb/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index 0a66a7275..1e6bf1e0a 100644
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -2153,7 +2153,7 @@ static void hb_init_subtitle_list(hb_stream_t *stream, hb_title_t *title)
break;
}
- int count = hb_list_count( title->list_audio );
+ int count = hb_list_count( title->list_subtitle );
// Now add the reset. Sort them by stream id.
for ( ii = 0; ii < stream->pes.count; ii++ )
{