mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-25 04:19:05 +00:00
dvbsub: add comments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8a6799d205
commit
294ea2cfc6
@ -307,6 +307,8 @@ static int encode_dvb_subtitles(DVBSubtitleContext *s,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* CLUT segment */
|
||||||
*q++ = 0x0f; /* sync byte */
|
*q++ = 0x0f; /* sync byte */
|
||||||
*q++ = 0x12; /* CLUT definition segment */
|
*q++ = 0x12; /* CLUT definition segment */
|
||||||
bytestream_put_be16(&q, page_id);
|
bytestream_put_be16(&q, page_id);
|
||||||
@ -397,6 +399,7 @@ static int encode_dvb_subtitles(DVBSubtitleContext *s,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Object Data segment */
|
||||||
*q++ = 0x0f; /* sync byte */
|
*q++ = 0x0f; /* sync byte */
|
||||||
*q++ = 0x13;
|
*q++ = 0x13;
|
||||||
bytestream_put_be16(&q, page_id);
|
bytestream_put_be16(&q, page_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user