+2007-11-21 Stefan Kost <ensonic@users.sf.net>
+
+ * gst/gstpreset.c:
+ For theses two fgets we handle the error below.
+
2007-11-21 Wim Taymans <wim.taymans@gmail.com>
* libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
/* read preset entries */
while (!feof (in)) {
/* read preset entry */
- fgets (line, LINE_LEN, in);
+ (void) fgets (line, LINE_LEN, in);
g_strchomp (line);
if (*line) {
preset_name = g_strdup (line);
/* read preset lines */
parse_preset = TRUE;
while (parse_preset) {
- fgets (line, LINE_LEN, in);
+ (void) fgets (line, LINE_LEN, in);
if (feof (in) || (*line == '\n')) {
GST_DEBUG ("preset done");
parse_preset = FALSE;