mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
update for adapter api changes
This commit is contained in:
parent
c87d271008
commit
89af03a2b9
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ gst_gdp_depay_chain (GstPad * pad, GstBuffer * buffer)
|
||||||
data = gst_adapter_map (this->adapter, this->payload_length);
|
data = gst_adapter_map (this->adapter, this->payload_length);
|
||||||
res = gst_dp_validate_payload (GST_DP_HEADER_LENGTH, this->header,
|
res = gst_dp_validate_payload (GST_DP_HEADER_LENGTH, this->header,
|
||||||
data);
|
data);
|
||||||
gst_adapter_unmap (this->adapter, 0);
|
gst_adapter_unmap (this->adapter);
|
||||||
|
|
||||||
if (!res)
|
if (!res)
|
||||||
goto payload_validate_error;
|
goto payload_validate_error;
|
||||||
|
|
Loading…
Reference in a new issue