summaryrefslogtreecommitdiff
path: root/gst/gdp/dataprotocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gdp/dataprotocol.c')
-rw-r--r--gst/gdp/dataprotocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gdp/dataprotocol.c b/gst/gdp/dataprotocol.c
index c85952ad5..c602ba2ba 100644
--- a/gst/gdp/dataprotocol.c
+++ b/gst/gdp/dataprotocol.c
@@ -459,7 +459,7 @@ gst_dp_buffer_from_header (guint header_length, const guint8 * header)
buffer =
gst_buffer_new_allocate (NULL,
- (guint) GST_DP_HEADER_PAYLOAD_LENGTH (header), 0);
+ (guint) GST_DP_HEADER_PAYLOAD_LENGTH (header), NULL);
GST_BUFFER_TIMESTAMP (buffer) = GST_DP_HEADER_TIMESTAMP (header);
GST_BUFFER_DURATION (buffer) = GST_DP_HEADER_DURATION (header);