]> git.sesse.net Git - ffmpeg/commit
mlpenc: fix lossless check error in number_sbits
authorJai Luthra <me@jailuthra.in>
Fri, 24 Jan 2020 10:33:30 +0000 (16:03 +0530)
committerPaul B Mahol <onemda@gmail.com>
Tue, 4 Feb 2020 10:19:12 +0000 (11:19 +0100)
commitc1c3916cec9ca627b9bff4a34683f66664ff787d
tree8a775abfc0ab19732d08aa83a2afc8b24f4c58ef
parentefee86fafa9cc6bbe5a64ef256cb0cd0ef34971e
mlpenc: fix lossless check error in number_sbits

we need two bits instead of one bit to represent -1 in bitstream

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