avcodec/snowenc: use log2 instead of log() / log(2...)
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Thu, 29 Oct 2015 04:08:32 +0000 (00:08 -0400)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Thu, 29 Oct 2015 22:46:00 +0000 (18:46 -0400)
commit4870d8518a9270639983da216797d02fc6c445b5
tree82c3dca93fd87efc684de82790eabd1f560cb413
parent863c9189eeede608a75cf2875bdd684a19a7b0c2
avcodec/snowenc: use log2 instead of log() / log(2...)

This is likely more precise and conveys the intent better.
The expression has also been accordingly simplified.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
libavcodec/snowenc.c