From a505c0d7373336a4cc5aa2022111c46bdd388b1f Mon Sep 17 00:00:00 2001 From: Thomas Volkert Date: Sat, 6 Dec 2014 19:54:07 +0100 Subject: rtp: Initial H.261 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ö --- libavformat/rtpenc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/rtpenc.h') 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); -- cgit v1.2.3