mlpenc: fix huff offset calculation
authorJai Luthra <me@jailuthra.in>
Fri, 24 Jan 2020 10:33:31 +0000 (16:03 +0530)
committerPaul B Mahol <onemda@gmail.com>
Tue, 4 Feb 2020 10:19:12 +0000 (11:19 +0100)
commit990990ed5d72b531cf5cc605af89830d8d42e7d0
treed3fcebbad73811fe36d1456e6dad2a1db11b1fa0
parentc1c3916cec9ca627b9bff4a34683f66664ff787d
mlpenc: fix huff offset calculation

huff offset wasn't always within the bounds before, which lead to
corrupt encoding that didn't always trigger lossless check failures

Signed-off-by: Jai Luthra <me@jailuthra.in>
libavcodec/mlpenc.c