aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/tf_sess_config.py
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-05 20:46:57 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-08 13:45:08 +0100
commita0900a318a60e38ffeb14c322b09f98fcbd97c73 (patch)
tree2263bc3cb62bd227c621eb17d28f7e0535734dd0 /tools/python/tf_sess_config.py
parent0a76f8217e0d80d336ad8d9c46523fd3d1262c8c (diff)
downloadffmpeg-a0900a318a60e38ffeb14c322b09f98fcbd97c73.tar.gz
avformat/aadec: Avoid copying data around
Up until now, the packets have been read in blocks of at most eight bytes at a time; then these blocks have been decrypted and copied into a buffer on the stack (that was double the size needed...). From there they have been copied to the dst packet. This commit changes this: The data is read in one go; and the decryption avoids temporary buffers, too, by making use of the fact that src and dst of av_tea_crypt() can coincide. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tools/python/tf_sess_config.py')
0 files changed, 0 insertions, 0 deletions