summaryrefslogtreecommitdiff
path: root/file.pl.in
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 /file.pl.in
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
Diffstat (limited to 'file.pl.in')
-rw-r--r--file.pl.in2
1 files changed, 1 insertions, 1 deletions
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>);