aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggparsecelt.c
diff options
context:
space:
mode:
authorDale Curtis <dalecurtis@chromium.org>2017-11-21 15:40:22 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2017-11-22 13:06:50 +0100
commit6db511a7838830f856b4664958add937a4a0d49b (patch)
tree694fc1f14840d507e957ef0d5247516b170b47ed /libavformat/oggparsecelt.c
parent3d5822d9cf07d08bce82903e4715658f46b01b5c (diff)
downloadffmpeg-6db511a7838830f856b4664958add937a4a0d49b.tar.gz
avformat/mov: Increment stsd_count while processing stsd data; avoids leaks.
In the event of ff_mov_read_stsd_entries() failure, sc->stsd_count is not updated, even if the function allocates extradata memory. Instead update the sc->stsd_count as entries are parsed so that mov_read_close() can do the right thing. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/oggparsecelt.c')
0 files changed, 0 insertions, 0 deletions