]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
Freesat_huffman: Suppress characters < 0x20 except \n.
authordave-p <gh@pickles.me.uk>
Fri, 15 Mar 2019 09:33:19 +0000 (09:33 +0000)
committerJaroslav Kysela <perex@perex.cz>
Fri, 15 Mar 2019 12:23:49 +0000 (13:23 +0100)
commit1383eab65a93763b8780e5011d592d9f249031b6
tree6f2becea20e81b4836ca3bc1112d60e1fbc3a83c
parent3f0c6b1e28fc5bae5c3e8934c8a79400236a1ac8
Freesat_huffman: Suppress characters < 0x20 except \n.

Bug #5366 reported control codes appearing in EPG data on UK Freeview; this was fixed in commit 3ae6d947a4d074b3498e59f82d5a860273b0ae7f. However the same issue affects DVB-T2 channels where the EPG is Huffman coded.
freesat_huffman.c already has code to suppress these control codes, however the decoding is stopped when one is encountered and so the text is truncated. This patch drops the control codes but continues to decode the remaining text.
src/epggrab/support/freesat_huffman.c