bytestream: add bytestream2_copy_buffer() functions
authorJustin Ruggles <justin.ruggles@gmail.com>
Sun, 29 Sep 2013 23:45:57 +0000 (19:45 -0400)
committerSean McGovern <gseanmcg@gmail.com>
Tue, 15 Apr 2014 03:19:18 +0000 (23:19 -0400)
commitd946e4c1bcfb6accd97f6d4cbfa324ef01913c8d
tree4c599761c02dad7ce803a29eed8af6cbba231fa6
parent0c5e6c542f5efffb4cd770e84967478b0076a6e5
bytestream: add bytestream2_copy_buffer() functions

This is basically an overread/overwrite-safe memcpy between a
GetByteContext and a PutByteContext.

CC:libav-stable@libav.org
(cherry picked from commit 5748faf291fec297ef25d81962b52b3438f54278)
libavcodec/bytestream.h