From 294ea2cfc6ac489a533904e1ca650ee8fddfa311 Mon Sep 17 00:00:00 2001 From: JULIAN GARDNER Date: Sat, 15 Oct 2011 20:30:54 +0200 Subject: dvbsub: add comments Signed-off-by: Michael Niedermayer --- libavcodec/dvbsub.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/dvbsub.c') 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); -- cgit v1.2.1