rtpdec: Add support for G726 audio
authorMiroslav Slugeň <Thunder.m@seznam.cz>
Mon, 7 Nov 2011 11:13:55 +0000 (12:13 +0100)
committerMartin Storsjö <martin@martin.st>
Wed, 30 Nov 2011 15:39:32 +0000 (17:39 +0200)
commit06d7325ab1fcc009f0183be3a0b0504f6d99edfb
treef339bba1eba422d112fdf69e2361fea9558c24dc
parent258366066479391aa998e3c8e87f70bec559db72
rtpdec: Add support for G726 audio

This requires using a separate init function, since there
isn't necessarily any fmtp lines for this codec, so
parse_sdp_a_line won't be called. Incorporating it with the
alloc function wouldn't do either, since it is called before
the full rtpmap line is parsed (where the sample rate is
extracted).

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/Makefile
libavformat/rtpdec.c
libavformat/rtpdec_formats.h
libavformat/rtpdec_g726.c [new file with mode: 0644]