OSDN Git Service

dvbsub: add comments
authorJULIAN GARDNER <joolzg@btinternet.com>
Sat, 15 Oct 2011 18:30:54 +0000 (20:30 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 15 Oct 2011 18:30:54 +0000 (20:30 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dvbsub.c

index 35e6a56..58b7f97 100644 (file)
@@ -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);