projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87f2088
)
alawdec: Each output sample is 2 bytes
author
Olivier Crête
<olivier.crete@collabora.com>
Fri, 27 Jan 2012 15:27:49 +0000
(16:27 +0100)
committer
Olivier Crête
<olivier.crete@collabora.com>
Fri, 27 Jan 2012 18:05:24 +0000
(19:05 +0100)
gst/law/alaw-decode.c
patch
|
blob
|
history
diff --git
a/gst/law/alaw-decode.c
b/gst/law/alaw-decode.c
index 4ea9612b359bee78618b177eac227eef31785c31..e3b6586a1b1c0e7dc105b6228b3b718447dd50c8 100644
(file)
--- a/
gst/law/alaw-decode.c
+++ b/
gst/law/alaw-decode.c
@@
-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;