snappy: Refactor so ff_snappy_uncompress() uses an existing buffer
authorTom Butterworth <bangnoise@gmail.com>
Tue, 21 Jul 2015 00:21:38 +0000 (01:21 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 23 Jul 2015 12:35:16 +0000 (13:35 +0100)
commit083cbc930d077651ea7e3fbc32ec45352cfed7e7
tree80029690588869a1d9609d4c4ac6bd6ab880bcfe
parent7f388c0fabc51eca3106e7cc443393269435ab52
snappy: Refactor so ff_snappy_uncompress() uses an existing buffer

Some uses of Snappy require uncompressing to positions within
an existing buffer. Also adds a function to get the uncompressed
length of Snappy data.
libavcodec/hapdec.c
libavcodec/snappy.c
libavcodec/snappy.h