mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
This fixes a segfault on exit
Original commit message from CVS: This fixes a segfault on exit
This commit is contained in:
parent
4740481183
commit
401ae2bdee
1 changed files with 2 additions and 2 deletions
|
@ -240,7 +240,7 @@ gst_divxenc_init (GstDivxEnc *divxenc)
|
|||
static gboolean
|
||||
gst_divxenc_setup (GstDivxEnc *divxenc)
|
||||
{
|
||||
void *handle;
|
||||
void *handle = NULL;
|
||||
SETTINGS output;
|
||||
DivXBitmapInfoHeader input;
|
||||
gdouble fps;
|
||||
|
@ -306,7 +306,7 @@ static void
|
|||
gst_divxenc_unset (GstDivxEnc *divxenc)
|
||||
{
|
||||
if (divxenc->handle) {
|
||||
encore(divxenc, ENC_OPT_RELEASE, NULL, NULL);
|
||||
encore(divxenc->handle, ENC_OPT_RELEASE, NULL, NULL);
|
||||
divxenc->handle = NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue