codecparsers: vp8: move up built-in range decoder private data.

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>
This commit is contained in:
Gwenole Beauchesne 2014-06-26 15:59:35 +02:00
parent c39105524a
commit c46b63d44e

View file

@ -12,7 +12,7 @@
#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,