diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-08-27 20:11:08 +0000 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2012-08-28 11:37:53 -0400 |
commit | 998f92d680554cbefb4d34c7b3a0a791f94e8f00 (patch) | |
tree | b5ad0cde52fae76300b97156f16aacde3b0ce0b7 /libavcodec/dwt.c | |
parent | 6af2480aa62e96fbfa4f2f99b80280ce77dafafd (diff) | |
download | ffmpeg-streaming-998f92d680554cbefb4d34c7b3a0a791f94e8f00.zip ffmpeg-streaming-998f92d680554cbefb4d34c7b3a0a791f94e8f00.tar.gz |
cllc: simplify/fix swapped data buffer allocation.
Using the malloc variant avoids pointless memcpy on size
increase and simplifies handling allocation failure.
Also change code to ensure that allocation, bswap and bitstream
reader all use the same size, even when the packet size is odd
for example.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/dwt.c')
0 files changed, 0 insertions, 0 deletions