Changeset 84a125c in ffmpeg

Timestamp:
Oct 14, 2013, 11:27:35 AM (11 years ago)
Author:
Martin Storsjö <martin@martin.st>
Branches:
master
Children:
15748773, 953dd723
Parents:
39185ec4
git-author:
Martin Storsjö <martin@martin.st> (10/11/13 19:16:04)
git-committer:
Martin Storsjö <martin@martin.st> (10/14/13 11:27:35)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.