You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
dvbsubenc: Fix placement of the object version
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
committed by
Mans Rullgard
parent
5c19f64c60
commit
df211c3ab7
@@ -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;
|
||||
|
Reference in New Issue
Block a user