From 772c2308b91b8b912ef09805efcd3fc93e63ee52 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Wed, 31 Jul 2019 07:56:56 -0700 Subject: stream: fix building of subtitle list in PES files a very old cut & paste error. people must not use subtitles in PES much ;) --- libhb/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/stream.c') 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++ ) { -- cgit v1.2.3