[FFmpeg-cvslog] dvbsub: add comments

JULIAN GARDNER git at videolan.org
Sat Oct 15 21:36:45 CEST 2011


ffmpeg | branch: master | JULIAN GARDNER <joolzg at btinternet.com> | Sat Oct 15 20:30:54 2011 +0200| [294ea2cfc6ac489a533904e1ca650ee8fddfa311] | committer: Michael Niedermayer

dvbsub: add comments

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=294ea2cfc6ac489a533904e1ca650ee8fddfa311
---

 libavcodec/dvbsub.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libavcodec/dvbsub.c b/libavcodec/dvbsub.c
index 35e6a56..58b7f97 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);



More information about the ffmpeg-cvslog mailing list