[FFmpeg-devel] [mov] Increment stsd_count while processing stsd data; avoids leaks.
dalecurtis at chromium.org
Wed Nov 22 01:42:40 EET 2017
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 at chromium.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1876 bytes
Desc: not available
More information about the ffmpeg-devel