summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins/files/patch-ext_flac_gstflacenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer-plugins/files/patch-ext_flac_gstflacenc.c')
-rw-r--r--multimedia/gstreamer-plugins/files/patch-ext_flac_gstflacenc.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/files/patch-ext_flac_gstflacenc.c b/multimedia/gstreamer-plugins/files/patch-ext_flac_gstflacenc.c
new file mode 100644
index 000000000..b42b35cb7
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-ext_flac_gstflacenc.c
@@ -0,0 +1,20 @@
+--- ext/flac/gstflacenc.c.orig Fri Feb 6 15:43:38 2004
++++ ext/flac/gstflacenc.c Fri Feb 6 16:15:23 2004
+@@ -575,7 +575,7 @@
+ gst_flacenc_set_metadata (flacenc);
+ state = FLAC__seekable_stream_encoder_init (flacenc->encoder);
+ if (state != FLAC__STREAM_ENCODER_OK) {
+- GST_ELEMENT_ERROR (flacenc, LIBRARY, INIT, NULL,
++ GST_ELEMENT_ERROR (flacenc, LIBRARY, INIT, (NULL),
+ ("could not initialize encoder (wrong parameters?)"));
+ return;
+ }
+@@ -610,7 +610,7 @@
+ flacenc->data = NULL;
+
+ if (!res) {
+- GST_ELEMENT_ERROR (flacenc, STREAM, ENCODE, NULL, NULL);
++ GST_ELEMENT_ERROR (flacenc, STREAM, ENCODE, (NULL), (NULL));
+ }
+ }
+