avcodec/vc1: re-implement vc1_put_signed_blocks_clamped
authorJerome Borsboom <jerome.borsboom@carpalis.nl>
Mon, 23 Apr 2018 18:59:49 +0000 (20:59 +0200)
committerPaul B Mahol <onemda@gmail.com>
Wed, 25 Apr 2018 20:07:20 +0000 (22:07 +0200)
commite60e14ef929fd1b905803532a476bab08ef0030b
tree67314787ceca5429c1066f179f06b97de4bde96c
parent362ce2db4bbc27bb74a82341558eaffb35d8397e
avcodec/vc1: re-implement vc1_put_signed_blocks_clamped

The existing implementation only used vc1_put_signed_blocks_clamped for I and
BI frames. This rewritten version is also applicable to P frame both
progressive and frame/field-interlace.

Signed-off-by: Jerome Borsboom <jerome.borsboom@carpalis.nl>
libavcodec/vc1_block.c