cook: use a table for xor key rotation
authorMans Rullgard <mans@mansr.com>
Fri, 25 Nov 2011 20:43:05 +0000 (20:43 +0000)
committerMans Rullgard <mans@mansr.com>
Sat, 26 Nov 2011 11:38:41 +0000 (11:38 +0000)
commitb7581b5c839d1e293bb9dc34352a76df9d3158a9
tree0b825ad0e2727a54518f87f213ff8508ef94779e
parent644bff6c9bf15b5ed723a893236dbc8c29579c93
cook: use a table for xor key rotation

This is simpler and avoids an invalid shift by 32 in the
aligned case.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/cook.c