OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c19f64
)
dvbsubenc: Fix placement of the object version
author
Ronen Mizrahi
<ronen@tversity.com>
Thu, 10 Feb 2011 16:50:00 +0000
(11:50 -0500)
committer
Mans Rullgard
<mans@mansr.com>
Thu, 10 Feb 2011 21:45:17 +0000
(21:45 +0000)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/dvbsub.c
patch
|
blob
|
history
diff --git
a/libavcodec/dvbsub.c
b/libavcodec/dvbsub.c
index
c2a1298
..
ed12823
100644
(file)
--- a/
libavcodec/dvbsub.c
+++ b/
libavcodec/dvbsub.c
@@
-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;