aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING.GPLv2
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-06-14 00:37:40 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-02 01:01:30 +0200
commit430cf25553666adb28b6a54f9a535ef1d7debe9d (patch)
tree6340d2fb41d8ddef7f31ee0dca6efae525177e0c /COPYING.GPLv2
parent33985333ef34e7e630c4d88494583f0b531eaf30 (diff)
downloadffmpeg-430cf25553666adb28b6a54f9a535ef1d7debe9d.tar.gz
avformat/mov: Fix memleaks upon read_header failure
By default, a demuxer's read_close function is not called automatically if an error happens when reading the header; instead it is up to the demuxer to clean up after itself in this case. The mov demuxer did this by calling its read_close function when it encountered some errors when reading the header. Yet for other errors (mostly adding side-data to streams) this has been forgotten, so that all the internal structures of the demuxer leak. This commit fixes this by making sure mov_read_close is called when necessary. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit ac378c535be907ee383dafb430be7216a2920982) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'COPYING.GPLv2')
0 files changed, 0 insertions, 0 deletions