OSDN Git Service

sgidec: Use bytestream2 functions to prevent buffer overreads.
authorAneesh Dogra <lionaneesh@gmail.com>
Fri, 13 Jan 2012 17:35:57 +0000 (23:05 +0530)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 14 Jan 2012 17:35:53 +0000 (12:35 -0500)
commit4cd0bdae9a62d1f0366e60603222762af31e5289
treef70981a4f5f77bd561ea265adff4405f4ed08706
parente44c11e9fa505da3c54738ae2d21123338a28ca6
sgidec: Use bytestream2 functions to prevent buffer overreads.

The patch also adds several bytestream macros to deal with native endian.

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
libavcodec/bytestream.h
libavcodec/sgidec.c