hevc: always clip luma_log2_weight_denom
authorVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 10 Dec 2014 01:41:44 +0000 (01:41 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 15 Dec 2014 14:46:34 +0000 (15:46 +0100)
commitb2bece5e9a4dd96142962c6798e187c77b88bbfa
treed3c253eb068a8ccb95f941c18b643b83a1375289
parentbab8d73765238bfeea7a8dfd454f40ac213b3d22
hevc: always clip luma_log2_weight_denom

Its value shall be between 0 and 7 according to the specifications.

CC: libav-stable@libav.org
Bug-Id: CID 1257502
libavcodec/hevc.c