diff options
author | Lukasz Marek <lukasz.m.luki@gmail.com> | 2014-02-07 00:30:27 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-08 12:27:00 +0100 |
commit | 20fe316e47fedb28787e77e77a7011133f3d4e73 (patch) | |
tree | f43098795201116a857b567d14a9e5bc82288901 /libavfilter/unsharp_opencl.h | |
parent | 18c3313e65f70646858b58fcae6c95308cad0945 (diff) | |
download | ffmpeg-20fe316e47fedb28787e77e77a7011133f3d4e73.tar.gz |
lavd/sdl: reset context variables after destroy
SDL device reports double free or hangs when quiting.
Reseting variables solves the issue.
The issue is caused by double call of write_trailer callback.
It is called for the first time in write_packet when quit flag is set.
Second call comes from ffmpeg.c or may come from other client application.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/unsharp_opencl.h')
0 files changed, 0 insertions, 0 deletions