FFmpeg/libavformat
Andreas Rheinhardt a0900a318a 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>
2021-12-08 13:45:08 +01:00
..
2021-04-27 11:48:06 -03:00
2021-06-10 16:51:44 +02:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-12-02 01:41:55 +10:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-07-22 15:02:30 +02:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-07-31 22:08:19 +02:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-09-26 08:51:58 +02:00
2021-04-27 11:48:06 -03:00
2021-10-03 20:56:12 +02:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-07-08 16:03:17 +02:00
2021-04-27 11:48:06 -03:00
2021-07-22 15:02:30 +02:00
2021-07-20 11:20:04 +05:30
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-08-06 22:49:26 +02:00
2021-07-22 15:02:30 +02:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-12-02 01:41:55 +10:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-12-06 14:25:55 +01:00
2021-10-03 20:56:12 +02:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-06-18 18:58:25 +02:00
2021-09-07 18:07:11 +10:00
2021-09-24 00:14:01 +02:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-10-07 11:52:10 +02:00
2021-12-02 01:41:55 +10:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-10-03 20:56:12 +02:00
2021-04-27 11:48:06 -03:00
2021-10-03 20:56:12 +02:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-07-08 16:03:18 +02:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-10-09 11:42:16 +02:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00
2021-04-27 11:48:06 -03:00