mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
sys/oss/gstosssink.c: Don't re-use already closed file descriptor. (#320920)
Original commit message from CVS: Reviewed by: Tim-Philipp Müller <tim at centricular dot net> * sys/oss/gstosssink.c: (gst_oss_sink_close): Don't re-use already closed file descriptor. (#320920)
This commit is contained in:
parent
ef3e55d3a6
commit
a9c9d62886
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-11-08 Alessandro Decina <alessandro at nnva dot org>
|
||||
|
||||
Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* sys/oss/gstosssink.c: (gst_oss_sink_close):
|
||||
Don't re-use already closed file descriptor. (#320920)
|
||||
|
||||
2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* sys/oss/gstosssink.c: (gst_oss_sink_dispose),
|
||||
|
|
|
@ -372,6 +372,7 @@ static gboolean
|
|||
gst_oss_sink_close (GstAudioSink * asink)
|
||||
{
|
||||
close (GST_OSSSINK (asink)->fd);
|
||||
GST_OSSSINK (asink)->fd = -1;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue