summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-01-20 20:48:19 +0200
committerMartin Storsjö <martin@martin.st>2012-01-21 01:12:58 +0200
commit5d95112d926760046bc0b07aeda5cfc766ba54a6 (patch)
tree1fcee06aa6332f0172d3c1e794ca505c32fbd953 /libavcodec/mpegvideo.c
parent1f712e6a056f8015129ee786ab2ee3319774fb3a (diff)
movenc: Reorder entries in the MOVIentry struct, for tigheter packing
Originally, sizeof(struct MOVIentry) was 48, after the reordering, it is 40 in my build configuration. When writing really long mov/mp4 files, this can make a difference - this saves a bit over 2 MB of memory per hour of video (down to 10.3 MB per hour from 12.3 MB per hour initially) for a video with 75 packets per second - 25 fps + 50 audio packets (which is the case for AMR audio). Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/mpegvideo.c')
0 files changed, 0 insertions, 0 deletions