aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/av1_frame_merge_bsf.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-06-13 01:57:27 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-18 22:33:34 +0200
commitb76f9bcfd0796afb3d23a4c833508a34dd516a78 (patch)
tree74acc49d420b53a196495500a37894acbee0f704 /libavcodec/av1_frame_merge_bsf.c
parentf9136d6026ede3a98f3bffc23e1deacca37cbf3b (diff)
downloadffmpeg-b76f9bcfd0796afb3d23a4c833508a34dd516a78.tar.gz
avfilter/internal: Mark ff_filter_get_nb_threads() as av_pure
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>
Diffstat (limited to 'libavcodec/av1_frame_merge_bsf.c')
0 files changed, 0 insertions, 0 deletions