hlsdemux: Implement pkcs7 unpadding
authorSebastian Dröge <slomo@circular-chaos.org>
Tue, 23 Jul 2013 11:29:18 +0000 (13:29 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Tue, 23 Jul 2013 11:30:52 +0000 (13:30 +0200)
commitb9124cad884205c7db716a634737964297c9d85b
treed6ba13b7d49cb0f1808f5716d5be4e19d46e10df
parent92bcdd9c4be315bb791c965c9748075667711c07
hlsdemux: Implement pkcs7 unpadding

Every encrypted fragment will be a multiple of 128 bits, the last byte
contains the number of bytes that were added as padding in the end
and should be removed.

https://bugzilla.gnome.org/show_bug.cgi?id=701673
ext/hls/gsthlsdemux.c