summaryrefslogtreecommitdiff
path: root/libavcodec/dvbsub.c
diff options
context:
space:
mode:
authorJULIAN GARDNER <joolzg@btinternet.com>2011-10-15 20:30:54 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-15 20:30:54 +0200
commit294ea2cfc6ac489a533904e1ca650ee8fddfa311 (patch)
treeb59d5f3158f5eaf1ed54cb0fd930b7ad72b6ac47 /libavcodec/dvbsub.c
parent8a6799d20545e07c74148c67de6c3290a2485269 (diff)
downloadffmpeg-294ea2cfc6ac489a533904e1ca650ee8fddfa311.tar.gz
dvbsub: add comments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dvbsub.c')
-rw-r--r--libavcodec/dvbsub.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/dvbsub.c b/libavcodec/dvbsub.c
index 35e6a56a5a..58b7f970f8 100644
--- a/libavcodec/dvbsub.c
+++ b/libavcodec/dvbsub.c
@@ -307,6 +307,8 @@ static int encode_dvb_subtitles(DVBSubtitleContext *s,
return -1;
}
+
+ /* CLUT segment */
*q++ = 0x0f; /* sync byte */
*q++ = 0x12; /* CLUT definition segment */
bytestream_put_be16(&q, page_id);
@@ -397,6 +399,7 @@ static int encode_dvb_subtitles(DVBSubtitleContext *s,
return -1;
}
+ /* Object Data segment */
*q++ = 0x0f; /* sync byte */
*q++ = 0x13;
bytestream_put_be16(&q, page_id);