Use the first _gst_reserved[] slot to hold the built-in range decoder
private data. The first slot was formerly the buffer size, which was
then promoted to semi-public namespace when it got integrated as git
commit 2940ac6.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
#include "dboolhuff.h"
#define BOOL_DECODER_CAST(rd) \
- ((BOOL_DECODER *)(&(rd)->_gst_reserved[1]))
+ ((BOOL_DECODER *)(&(rd)->_gst_reserved[0]))
gboolean
gst_vp8_range_decoder_init (GstVp8RangeDecoder * rd, const guchar * buf,