diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2014-01-21 19:58:41 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-13 17:06:08 +0100 |
commit | e76a5a9c284c033210485b952ec4cadc05034503 (patch) | |
tree | 9f633ad35e11a1ebed3adcd8a661faa310499346 /libavformat/utils.c | |
parent | 9f650fb5fb3270df6ef570a919b988a0a97a2e1c (diff) | |
download | ffmpeg-e76a5a9c284c033210485b952ec4cadc05034503.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 'libavformat/utils.c')
0 files changed, 0 insertions, 0 deletions