bytestream: add bytestream2_copy_buffer() functions
authorJustin Ruggles <justin.ruggles@gmail.com>
Sun, 29 Sep 2013 23:45:57 +0000 (19:45 -0400)
committerReinhard Tartler <siretart@tauware.de>
Sun, 1 Jun 2014 00:05:19 +0000 (20:05 -0400)
commitfa60904ebd58da33abf10b05e9933d24619cf096
treec5925ddc0c3f55005d79812c89fbfa121a721fbd
parentb473fdcde329dfbe6d099247f65f51436a49e8c6
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