summaryrefslogtreecommitdiff
path: root/libavfilter/af_channelmap.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-10-09 15:20:15 +0200
committerJanne Grunau <janne-libav@jannau.net>2012-10-09 15:39:05 +0200
commit18ff4d20201ae69fdeb2da2c90bdcbd33f7ac025 (patch)
tree200582b5430b871b85f9fc5b51be8a9c893e7af7 /libavfilter/af_channelmap.c
parent4ffbe3f3a5d9892841d9bc31d859916c2c61123f (diff)
avconv: simplify memory allocation in copy_chapters
Make just a single reallocation per call instead of one reallocation per copied chapters. This fixes possible memory leaks on realloc failures. Also correct the allocation since it needs multiples of sizeof(AVChapter*) and not sizeof(AVChapter). Fixes CID700633 and CID700719.
Diffstat (limited to 'libavfilter/af_channelmap.c')
0 files changed, 0 insertions, 0 deletions