diff options
author | Dale Curtis <[email protected]> | 2017-11-21 15:40:22 -0800 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2017-11-22 13:06:50 +0100 |
commit | 6db511a7838830f856b4664958add937a4a0d49b (patch) | |
tree | 694fc1f14840d507e957ef0d5247516b170b47ed /libavformat/mux.c | |
parent | 3d5822d9cf07d08bce82903e4715658f46b01b5c (diff) |
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 <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavformat/mux.c')
0 files changed, 0 insertions, 0 deletions