avcodec/dvdsubdec: Avoid branch in decode_run_8bit()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 13 Sep 2018 02:24:49 +0000 (04:24 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 28 Oct 2018 00:22:42 +0000 (02:22 +0200)
commit1a106752f37cf9119615e0db908d13b714f565d2
tree2b828a7359d3311e7cc9c8e0b855764d4c1b9cb5
parentab5d930762389f4200fb600c84580e6b79b2c153
avcodec/dvdsubdec: Avoid branch in decode_run_8bit()

Speed improvment 35.5 sec -> 34.7sec

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 71bf0330505e2108935d05c5c018ec65eac4b946)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dvdsubdec.c