Free memory allocated by daala_ec encoder.

Free the two memory buffers allocated by the daala_ec encoder when
 calling od_ec_enc_clear() from aom_daala_stop_encode().

Change-Id: If20e86374ea29e51ee59111012905e56039dd4cc
This commit is contained in:
Nathan E. Egge
2016-10-14 07:07:03 -04:00
committed by Yaowu Xu
parent f250e20d13
commit e734fcb114

View File

@@ -28,4 +28,5 @@ void aom_daala_stop_encode(daala_writer *br) {
Must always be added, so that rawbits knows the exact length of the
bitstream. */
br->buffer[br->pos++] = 0;
od_ec_enc_clear(&br->ec);
}