summaryrefslogtreecommitdiff
path: root/sys/vdpau/h264/gsth264parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vdpau/h264/gsth264parser.c')
-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);