Commit df211c3a authored by Ronen Mizrahi's avatar Ronen Mizrahi Committed by Mans Rullgard
Browse files

dvbsubenc: Fix placement of the object version


Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
parent 5c19f64c
......@@ -223,7 +223,7 @@ static int encode_dvb_subtitles(DVBSubtitleContext *s,
else
page_state = 2; /* mode change */
/* page_version = 0 + page_state */
*q++ = s->object_version | (page_state << 2) | 3;
*q++ = (s->object_version << 4) | (page_state << 2) | 3;
for (region_id = 0; region_id < h->num_rects; region_id++) {
*q++ = region_id;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment