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/rtpdec.c | |
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/rtpdec.c')
-rw-r--r-- | libavformat/rtpdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index b5e5200cd7..97f142815a 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -66,6 +66,7 @@ void ff_register_rtp_dynamic_payload_handlers(void) ff_register_dynamic_payload_handler(&ff_g726_24_dynamic_handler); ff_register_dynamic_payload_handler(&ff_g726_32_dynamic_handler); ff_register_dynamic_payload_handler(&ff_g726_40_dynamic_handler); + ff_register_dynamic_payload_handler(&ff_h261_dynamic_handler); ff_register_dynamic_payload_handler(&ff_h263_1998_dynamic_handler); ff_register_dynamic_payload_handler(&ff_h263_2000_dynamic_handler); ff_register_dynamic_payload_handler(&ff_h263_rfc2190_dynamic_handler); |