Revision 6e78c8ee libavformat/mpegtsenc.c
libavformat/mpegtsenc.c | ||
---|---|---|
69 | 69 |
/* NOTE: 4 bytes must be left at the end for the crc32 */ |
70 | 70 |
static void mpegts_write_section(MpegTSSection *s, uint8_t *buf, int len) |
71 | 71 |
{ |
72 |
MpegTSWrite *ts = ((AVFormatContext*)s->opaque)->priv_data; |
|
73 | 72 |
unsigned int crc; |
74 | 73 |
unsigned char packet[TS_PACKET_SIZE]; |
75 | 74 |
const unsigned char *buf_ptr; |
... | ... | |
583 | 582 |
/* Write a single null transport stream packet */ |
584 | 583 |
static void mpegts_insert_null_packet(AVFormatContext *s) |
585 | 584 |
{ |
586 |
MpegTSWrite *ts = s->priv_data; |
|
587 | 585 |
uint8_t *q; |
588 | 586 |
uint8_t buf[TS_PACKET_SIZE]; |
589 | 587 |
|
Also available in: Unified diff