summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarlosg <carlosg>2004-11-04 22:51:39 +0000
committercarlosg <carlosg>2004-11-04 22:51:39 +0000
commit9e34c6aed2363d26c0dbff8a2b292b6c42b1b264 (patch)
tree1d7ad2fe5b7feba1f726787206f7ed4a502678b4
parent777d70b4d35581a7385ea0946a07779eb3732aaa (diff)
2004-11-04 Carlos Garnacho Parro <carlosg@gnome.org>
* file.pl.in (gst_file_buffer_load): return a void array instead of undef if the file doesn't exist, it can be filled later. Fixes #157331
-rw-r--r--ChangeLog6
-rw-r--r--file.pl.in2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ef095fe..b1435b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-04 Carlos Garnacho Parro <carlosg@gnome.org>
+
+ * file.pl.in (gst_file_buffer_load): return a void array instead of
+ undef if the file doesn't exist, it can be filled later. Fixes
+ #157331
+
2004-11-03 Carlos Garnacho Parro <carlosg@gnome.org>
* Release 1.1
diff --git a/file.pl.in b/file.pl.in
index 8a1c2ba..5b0a5dc 100644
--- a/file.pl.in
+++ b/file.pl.in
@@ -657,7 +657,7 @@ sub gst_file_buffer_load
&gst_report ("file_buffer_load", $file);
$fd = &gst_file_open_read_from_names ($file);
- return undef unless $fd;
+ return [] unless $fd;
@buffer = (<$fd>);