adpcmenc: fix adpcm_ms extradata allocation
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 30 Jan 2012 18:15:18 +0000 (13:15 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 31 Jan 2012 00:12:55 +0000 (19:12 -0500)
commitdd88ae831a3e703ec48b28a3b28e96567eab605f
tree525318836229181c49f0f2d0054f1de084a4a3ec
parent877a1d409c13887903cf6aa5d8ac01fd8091a3f2
adpcmenc: fix adpcm_ms extradata allocation

Add FF_INPUT_BUFFER_PADDING_SIZE.
If allocation fails, also free memory which was allocated previously in
adpcm_encode_init().
libavcodec/adpcmenc.c