Use deinterleavers for demangling audio packets in RealMedia.
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 13 Aug 2011 19:02:54 +0000 (21:02 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 27 Aug 2011 15:23:45 +0000 (17:23 +0200)
commit10397215aa5682494138c300866f03bb9b75f062
tree58965c088fb94f7ab63d111a160e699d196af589
parent52982dbe474663709033e1ad259f8ff7a5a2eefa
Use deinterleavers for demangling audio packets in RealMedia.

Unlike other containers RealMedia stores its audio packets in scrambled form,
with interleaver ID preceeding audio codec ID. Currently deinterleaving
decision is tied to the codec while it's possible to have non-default
deinterleaver with audio codec (like Int0 deinterleaver instead of specific
one for Sipro).

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/rmdec.c