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, 18 Nov 2018 01:35:03 +0000 (02:35 +0100)
commit9f0e0a4cf29c860e85a7f1c47ec6418923abbeb3
treea6c474e805b999ed9188021fd05cd8f346e6020f
parent59c463f4ccb0067545086dc986998f07e209d069
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