projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4740481
)
This fixes a segfault on exit
author
Ronald S. Bultje
<rbultje@ronald.bitfreak.net>
Sun, 1 Jun 2003 13:20:37 +0000
(13:20 +0000)
committer
Ronald S. Bultje
<rbultje@ronald.bitfreak.net>
Sun, 1 Jun 2003 13:20:37 +0000
(13:20 +0000)
Original commit message from CVS:
This fixes a segfault on exit
ext/divx/gstdivxenc.c
patch
|
blob
|
history
diff --git
a/ext/divx/gstdivxenc.c
b/ext/divx/gstdivxenc.c
index
e337a96
..
bdc3278
100644
(file)
--- a/
ext/divx/gstdivxenc.c
+++ b/
ext/divx/gstdivxenc.c
@@
-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;
}
}