Commit a2bc789d authored by Alessandro Decina's avatar Alessandro Decina

filesink: please gcc (avoid a warn_unused_result warning)

parent 924acf5e
......@@ -590,7 +590,8 @@ gst_file_sink_event (GstBaseSink * sink, GstEvent * event)
case GST_EVENT_FLUSH_STOP:
if (filesink->current_pos != 0 && filesink->seekable) {
gst_file_sink_do_seek (filesink, 0);
ftruncate (fileno (filesink->file), 0);
if (ftruncate (fileno (filesink->file), 0))
goto flush_failed;
}
break;
case GST_EVENT_EOS:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment