Browse Source

dvbsub: add comments

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
JULIAN GARDNER Michael Niedermayer 13 years ago
parent
commit
294ea2cfc6
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/dvbsub.c

+ 3
- 0
libavcodec/dvbsub.c View 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);


Loading…
Cancel
Save