summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_formats.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-02-23 23:28:34 +0200
committerMartin Storsjö <martin@martin.st>2015-02-24 16:25:28 +0200
commit3567b91e49c6ae101c9a35c90f46b8ad9890ac15 (patch)
tree733470bf41dc595d4b80f670e98539f73eb8b681 /libavformat/rtpdec_formats.h
parentf3449062a8d100ac4f703647336c32b126aa99f1 (diff)
rtpdec_hevc: Share the implementation of fragmented packets with h264
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec_formats.h')
-rw-r--r--libavformat/rtpdec_formats.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/rtpdec_formats.h b/libavformat/rtpdec_formats.h
index 4dcc1986ea..43b4b5b91b 100644
--- a/libavformat/rtpdec_formats.h
+++ b/libavformat/rtpdec_formats.h
@@ -42,6 +42,9 @@ int ff_h264_handle_aggregated_packet(AVFormatContext *ctx, AVPacket *pkt,
const uint8_t *buf, int len,
int start_skip, int *nal_counters,
int nal_mask);
+int ff_h264_handle_frag_packet(AVPacket *pkt, const uint8_t *buf, int len,
+ int start_bit, const uint8_t *nal_header,
+ int nal_header_len);
void ff_h264_parse_framesize(AVCodecContext *codec, const char *p);
extern RTPDynamicProtocolHandler ff_ac3_dynamic_handler;