avcodec/gdv: Replace divisions by shifts in rescale()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 5 Aug 2018 14:13:24 +0000 (16:13 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Sep 2018 23:25:17 +0000 (01:25 +0200)
commitb90d8cc7466386a166dd72107457498aa5a7c43d
tree9a782ad4e15e93316e89b03f7779d5e97a7c5873
parent303439bc5f7ac6bbadc20d7ec2d7ee4fec656ead
avcodec/gdv: Replace divisions by shifts in rescale()

Divisions tend to be slower than shifts unless the compiler optimizes them out.
And some of these are in inner loops.

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