mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-21 01:43:47 +00:00
update for adapter api change
This commit is contained in:
parent
59b4bcd27e
commit
5684c1200b
1 changed files with 1 additions and 1 deletions
|
@ -647,7 +647,7 @@ gst_faad_parse (GstAudioDecoder * dec, GstAdapter * adapter,
|
||||||
|
|
||||||
data = gst_adapter_map (adapter, size);
|
data = gst_adapter_map (adapter, size);
|
||||||
ret = gst_faad_sync (faad, data, size, !eos, offset, length);
|
ret = gst_faad_sync (faad, data, size, !eos, offset, length);
|
||||||
gst_adapter_unmap (adapter, 0);
|
gst_adapter_unmap (adapter);
|
||||||
|
|
||||||
return (ret ? GST_FLOW_OK : GST_FLOW_UNEXPECTED);
|
return (ret ? GST_FLOW_OK : GST_FLOW_UNEXPECTED);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue