diff options
Diffstat (limited to 'libavformat/mpegts.h')
-rw-r--r-- | libavformat/mpegts.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h index 6be9b73f06..25f21079c6 100644 --- a/libavformat/mpegts.h +++ b/libavformat/mpegts.h @@ -63,4 +63,22 @@ int ff_mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt, const uint8_t *buf, int len); void ff_mpegts_parse_close(MpegTSContext *ts); +/** + * Parse an MPEG-2 descriptor + * @param[in] fc Format context (used for logging only) + * @param st Stream + * @param stream_type STREAM_TYPE_xxx + * @param pp Descriptor buffer pointer + * @param desc_list_end End of buffer + * @param mp4_dec_config_descr_len Length of 'mp4_dec_config_descr', or zero if not present + * @param mp4_es_id + * @param pid + * @param mp4_dec_config_descr + * @return <0 to stop processing + */ +int ff_parse_mpeg2_descriptor(AVFormatContext *fc, AVStream *st, int stream_type, + const uint8_t **pp, const uint8_t *desc_list_end, + int mp4_dec_config_descr_len, int mp4_es_id, int pid, + uint8_t *mp4_dec_config_descr); + #endif /* AVFORMAT_MPEGTS_H */ |