diff options
author | Thomas Volkert <thomas@homer-conferencing.com> | 2014-12-06 19:54:07 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-12-18 23:11:37 +0200 |
commit | a505c0d7373336a4cc5aa2022111c46bdd388b1f (patch) | |
tree | 1209231eab3ba771201b13e40b97f36b9496e2e5 /libavformat/rtpenc.h | |
parent | adc214e6797750285a5e62634b8521db521162ad (diff) | |
download | ffmpeg-a505c0d7373336a4cc5aa2022111c46bdd388b1f.tar.gz |
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.h | 1 |
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); |