diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2014-01-21 19:58:41 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-28 13:08:06 +0100 |
commit | fa8d407c1f8fc10a614cdb3bd68a6e4e91ec2ab7 (patch) | |
tree | cd1b916247d92a0cd59b8dce125003fcec7a928f /libavutil/integer.c | |
parent | 8a21620c26b856c6d781c66150ff756a9b4fe149 (diff) | |
download | ffmpeg-fa8d407c1f8fc10a614cdb3bd68a6e4e91ec2ab7.tar.gz |
lavf/segment: remove duplicated and inconsistent cleanup code in seg_write_packet()
In particular, avoid to leave around the seg->avf pointer to freed
structure, and fix crash with:
ffmpeg -f lavfi -i testsrc -c:v h264 -map 0 -f segment foo-%d.ts
(cherry picked from commit 169065fbfb3da1ab776379c333aebc54bb1f1bc4)
Found-by: Qinghao Tang
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/integer.c')
0 files changed, 0 insertions, 0 deletions