ffmpeg/libavdevice
Lukasz Marek 20fe316e47 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>
2014-02-08 12:27:00 +01:00
..
2014-01-27 15:18:18 +01:00
2012-10-12 19:05:58 +02:00
2012-12-17 03:44:12 -02:00
2012-12-21 00:18:34 +01:00
2013-12-06 19:15:47 +01:00
2014-01-27 15:18:18 +01:00
2013-09-21 15:36:33 +02:00
2013-12-29 19:51:42 +01:00