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>
Wed, 31 Oct 2018 23:52:46 +0000 (00:52 +0100)
commit46875255bc957832bbd3cabf593471c5a16f2e55
treec452164f9c42824c9c1f3142c9fa5337d3870453
parentfa5498cb4dae73d4cf733e1578851547d17f1716
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