huffyuvdec: remove somewhat deprecated code
authorChristophe Gisquet <christophe.gisquet@gmail.com>
Sun, 15 Jun 2014 13:13:16 +0000 (15:13 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Jun 2014 15:43:47 +0000 (17:43 +0200)
commit29f427c2397befc369a45999f24fc34d848510ea
treed72c2f07b58d2e1522983ef563a3420a35026ec8
parenteb6f6f25dc9fb3e3694eb4c68570b4bfca341179
huffyuvdec: remove somewhat deprecated code

The old code was reserving the 0xFFFF entry to represent an inexisting
entry/codeword. These entries are now detected through their length
being <= 0. As this entry is often used for the residuals (-1,-1), which
should be among the most frequent, it is particularly important to not
reserve it.

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