Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a64bfe20 authored by Gilad Broner's avatar Gilad Broner
Browse files

media: dvb: Fix indexing table initialization



Number of indexing table entries was not properly cleared,
which cause the count to reach maximum allowed count when
closing and opening demux multiple times.

Change-Id: Ie1d82ca264b2531e37426a8879cf003f735521bd
Signed-off-by: default avatarGilad Broner <gbroner@codeaurora.org>
parent cd45ce66
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -373,6 +373,7 @@ static int mpq_dmx_tspp2_init_idx_table(enum dmx_video_codec codec,
			__func__, table_id, ret);
		return ret;
	}
	table->num_patterns = 0;

	ret = tspp2_indexing_prefix_set(TSPP2_DEVICE_ID, table_id,
		INDEX_TABLE_PREFIX_VALUE, INDEX_TABLE_PREFIX_MASK);