diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2014-01-21 19:58:41 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-10 02:13:07 +0200 |
commit | 43b601d36ffcdc944d9b5f16ca340f03667c9f14 (patch) | |
tree | 4fef35966a499f9b9ef1f532f912c992fc9debc6 /libavcodec/utvideodec.c | |
parent | ca39fbe14da397bb3ce065c37c238eb9e9978e94 (diff) | |
download | ffmpeg-43b601d36ffcdc944d9b5f16ca340f03667c9f14.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 'libavcodec/utvideodec.c')
0 files changed, 0 insertions, 0 deletions