diff options
author | Dale Curtis <dalecurtis@chromium.org> | 2017-11-21 15:40:22 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-11-22 13:06:50 +0100 |
commit | 6db511a7838830f856b4664958add937a4a0d49b (patch) | |
tree | 694fc1f14840d507e957ef0d5247516b170b47ed /libavformat/oggparsecelt.c | |
parent | 3d5822d9cf07d08bce82903e4715658f46b01b5c (diff) | |
download | ffmpeg-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