From 89af03a2b9a668304a56716fcb73d6df4067837b Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 10 Nov 2011 18:32:39 +0100 Subject: [PATCH] update for adapter api changes --- gst/gdp/gstgdpdepay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gdp/gstgdpdepay.c b/gst/gdp/gstgdpdepay.c index b60897759d..d5cc81d37d 100644 --- a/gst/gdp/gstgdpdepay.c +++ b/gst/gdp/gstgdpdepay.c @@ -286,7 +286,7 @@ gst_gdp_depay_chain (GstPad * pad, GstBuffer * buffer) data = gst_adapter_map (this->adapter, this->payload_length); res = gst_dp_validate_payload (GST_DP_HEADER_LENGTH, this->header, data); - gst_adapter_unmap (this->adapter, 0); + gst_adapter_unmap (this->adapter); if (!res) goto payload_validate_error;