summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.h
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2014-03-30 12:41:01 +1100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-30 16:36:22 +0200
commite61973db6c0111f39f945337aba6174f1ee5e6ba (patch)
tree6ee9010bafe24bfa66dad6aa88d4596a44859ea3 /libavformat/mpegts.h
parent7aa3979b8c2068ae3a352ecb5a92168aca311932 (diff)
avformat/mpegtsenc: move startcode validity check to ff_check_h264_startcode
Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mpegts.h')
-rw-r--r--libavformat/mpegts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
index 4d702a2cae..d7a9f03d6d 100644
--- a/libavformat/mpegts.h
+++ b/libavformat/mpegts.h
@@ -105,4 +105,10 @@ int ff_parse_mpeg2_descriptor(AVFormatContext *fc, AVStream *st, int stream_type
Mp4Descr *mp4_descr, int mp4_descr_count, int pid,
MpegTSContext *ts);
+/**
+ * Check presence of H264 startcode
+ * @return <0 to stop processing
+ */
+int ff_check_h264_startcode(AVFormatContext *s, const AVStream *st, const AVPacket *pkt);
+
#endif /* AVFORMAT_MPEGTS_H */