summaryrefslogtreecommitdiff
path: root/sys/vdpau
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2010-07-15 11:10:03 +0200
committerCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2010-07-15 11:10:03 +0200
commitecbf5a4e301935fb0baad4328772c35c99b286d1 (patch)
treef12e280ed46197e2ba492e3bc371b4f85739f6ea /sys/vdpau
parentb3ad9d7d04bf83efada50f71671898ef86908b61 (diff)
vdpauh264dec: fix usage of g_bit_storage
Diffstat (limited to 'sys/vdpau')
-rw-r--r--sys/vdpau/h264/gsth264parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vdpau/h264/gsth264parser.c b/sys/vdpau/h264/gsth264parser.c
index 5ccf506dd..be2c42186 100644
--- a/sys/vdpau/h264/gsth264parser.c
+++ b/sys/vdpau/h264/gsth264parser.c
@@ -606,7 +606,7 @@ gst_h264_parser_parse_picture (GstH264Parser * parser, guint8 * data,
gint i;
READ_UE (&reader, pic->pic_size_in_map_units_minus1);
- bits = g_bit_storage (pic->num_slice_groups_minus1 + 1);
+ bits = g_bit_storage (pic->num_slice_groups_minus1);
pic->slice_group_id =
g_new (guint8, pic->pic_size_in_map_units_minus1 + 1);