avcodec/error_resilience: Factor block parity check out
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 25 Dec 2016 19:16:00 +0000 (20:16 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 25 Dec 2016 20:04:32 +0000 (21:04 +0100)
commitcafc72bd7bc4fb7672717e0e599405dbc59f3b5d
treeaf9accaacd2601f3e707fe5549faccb2eefacad9
parentc6c888e996126b7189d27f16ba2aed38f8cff680
avcodec/error_resilience: Factor block parity check out

This makes the code noticably faster when there are lots of blocks

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/error_resilience.c