diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2015-01-05 10:40:41 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-01-12 22:21:39 +0100 |
commit | f6c82b34a320f105af266997f5951cbe7dfc8a05 (patch) | |
tree | 7ed7dbb2776c9350c2e737a83c358690d31376ce /libavcodec/xsubdec.c | |
parent | 3280b86c85f5a88397fce0230d1878fee79fbb93 (diff) | |
download | ffmpeg-f6c82b34a320f105af266997f5951cbe7dfc8a05.tar.gz |
segment: Fix the failure paths
A failure in segment_end() or segment_start() would lead to freeing
a dangling pointer and in general further calls to seg_write_packet()
or to seg_write_trailer() would have the same faulty behaviour.
CC: libav-stable@libav.org
Reported-By: luodalongde@gmail.com
(cherry picked from commit b3f04657368a32a9903406395f865e230b1de348)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/xsubdec.c')
0 files changed, 0 insertions, 0 deletions