aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpenc_chain.h
diff options
context:
space:
mode:
authorJose Da Silva <digital@joescat.com>2021-01-31 19:50:57 -0800
committerPaul B Mahol <onemda@gmail.com>2021-02-03 16:03:15 +0100
commit42c636c9722f64fe6290ea8eee13658d25f5fbe3 (patch)
treebfd4e5ead5b0267ee94d9428ab15cd1b71470b33 /libavformat/rtpenc_chain.h
parentb6bc981d257565d77d8d14d233cf9b461e63c280 (diff)
downloadffmpeg-42c636c9722f64fe6290ea8eee13658d25f5fbe3.tar.gz
avcodec/xbmenc: Pre-compute variables once for parse_str_int()
Some compilers are very intuitive, and others are not so much, so let's pre-compute the variables e and keylen outside the for loop. Ensuring a minor speed increase regardless of if compiler is smart enough to solve this improvement for itself, or not. Signed-off-by: Joe Da Silva <digital@joescat.com>
Diffstat (limited to 'libavformat/rtpenc_chain.h')
0 files changed, 0 insertions, 0 deletions