summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc.h
diff options
context:
space:
mode:
authorThomas Volkert <thomas@homer-conferencing.com>2014-12-06 19:54:07 +0100
committerMartin Storsjö <martin@martin.st>2014-12-18 23:11:37 +0200
commita505c0d7373336a4cc5aa2022111c46bdd388b1f (patch)
tree1209231eab3ba771201b13e40b97f36b9496e2e5 /libavformat/rtpenc.h
parentadc214e6797750285a5e62634b8521db521162ad (diff)
rtp: Initial H.261 support
The packetizer only supports splitting at GOB headers - if such aren't available frequently enough, it splits at any random byte offset (not at a macroblock boundary either, which would be allowed by the spec) and sends a payload header pretend that it starts with a GOB header. As long as a receiver doesn't try to handle such cases cleverly but just drops broken frames, this shouldn't matter too much in practice. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpenc.h')
-rw-r--r--libavformat/rtpenc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtpenc.h b/libavformat/rtpenc.h
index 4a72a49bde..f2ac0fa9ad 100644
--- a/libavformat/rtpenc.h
+++ b/libavformat/rtpenc.h
@@ -81,6 +81,7 @@ typedef struct RTPMuxContext RTPMuxContext;
void ff_rtp_send_data(AVFormatContext *s1, const uint8_t *buf1, int len, int m);
void ff_rtp_send_h264(AVFormatContext *s1, const uint8_t *buf1, int size);
+void ff_rtp_send_h261(AVFormatContext *s1, const uint8_t *buf1, int size);
void ff_rtp_send_h263(AVFormatContext *s1, const uint8_t *buf1, int size);
void ff_rtp_send_h263_rfc2190(AVFormatContext *s1, const uint8_t *buf1, int size,
const uint8_t *mb_info, int mb_info_size);