mirror of https://github.com/FFmpeg/FFmpeg.git
It does not modify anything; it only returns a value, so it fulfills the requirements for av_pure. The deeper rationale behind this change is that this function is called quite often inside arguments to FFMIN which may lead to two calls to it; declaring this function as av_pure allows the compiler to optimize the second call away. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/359/head
parent
f9136d6026
commit
b76f9bcfd0
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue