iff decoder: initialise HAM line decoder with first palette entry
authorPeter Ross <pross@xvid.org>
Sun, 25 Nov 2012 11:04:11 +0000 (22:04 +1100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 25 Nov 2012 13:40:36 +0000 (14:40 +0100)
commitfdd71cf04c4fdcea0af911d808687c07d150fee2
tree9ff5aab76818920e5c6ddbcc4a7723fecc936b8f
parent8f507feecbe9e276695b10e85e1e8bf38cd2c3f8
iff decoder: initialise HAM line decoder with first palette entry

The palette is organised into 'hold' and 'modify' pairs, hence why
the first palette entry is pal[1].

Fixes ticket #1701.

Signed-off-by: Peter Ross <pross@xvid.org>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/iff.c