cavsdec: check for value in get_ue_code()
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 24 Jan 2013 20:55:12 +0000 (21:55 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 24 Jan 2013 20:55:12 +0000 (21:55 +0100)
commitcf48b006400e34e1177d0ca22d1cdb5c900a199a
tree0a2ee20580d3548bbf40707ac5833fe9ab4d0f16
parent77b740ac0ac4d6f7a011594ae116d5c85384bc68
cavsdec: check for value in get_ue_code()

Fixes integer overflow and prints an error in case the value is
invalid.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/cavsdec.c