summaryrefslogtreecommitdiffstats
path: root/libavcodec/rv20enc.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-08-27 20:11:08 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2012-08-28 11:37:53 -0400
commit998f92d680554cbefb4d34c7b3a0a791f94e8f00 (patch)
treeb5ad0cde52fae76300b97156f16aacde3b0ce0b7 /libavcodec/rv20enc.c
parent6af2480aa62e96fbfa4f2f99b80280ce77dafafd (diff)
downloadffmpeg-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/rv20enc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud