summaryrefslogtreecommitdiff
path: root/libavresample
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-10-11 22:16:04 +0300
committerMartin Storsjö <martin@martin.st>2013-10-14 14:27:35 +0300
commit84a125c4c28f3e3e215d2e6c32f7f0ec43bbc04c (patch)
treead5331b186777912b07d2eba532488019466afa3 /libavresample
parent39185ec4faa9ef33954dbf2394444e045b632673 (diff)
rtmp: Allocate the prev_pkt arrays dynamically
Normally, all channel ids are between 0 and 10, while they in uncommon cases can have values up to 64k. This avoids allocating two arrays for up to 64k entries (at a total of over 6 MB in size) each when most of them aren't used at all. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavresample')
0 files changed, 0 insertions, 0 deletions