mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
alawdec: Each output sample is 2 bytes
This commit is contained in:
parent
87f2088303
commit
a7c27e1aaa
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ gst_alaw_dec_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
|||
alaw_data = inmap.data;
|
||||
alaw_size = inmap.size;
|
||||
|
||||
outbuf = gst_buffer_new_allocate (NULL, alaw_size, 0);
|
||||
outbuf = gst_buffer_new_allocate (NULL, alaw_size * 2, 0);
|
||||
|
||||
gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE);
|
||||
linear_data = (gint16 *) outmap.data;
|
||||
|
|
Loading…
Reference in a new issue