truehd_core: Use byte offsets instead of bit offsets
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 6 Jul 2019 14:18:03 +0000 (16:18 +0200)
committerPaul B Mahol <onemda@gmail.com>
Tue, 9 Jul 2019 11:23:42 +0000 (13:23 +0200)
commit836065b27a0f5b8268c2fb6c6e825ac3b63168f0
tree33d22298a8dea2c92953f105e816410027f3443d
parent2275e70569cea1bc976c349520fa029734b323de
truehd_core: Use byte offsets instead of bit offsets

Words of 16 bit are the unit for TrueHD's size and offset fields;
in particular the sizes of the high-level structures of TrueHD are
always a multiple of a byte; yet truehd_core unnecessarily used
bit offsets at several places. This has been changed.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/truehd_core_bsf.c