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:
373333c
)
celtdepay: calculate size correctly
author
idc-dragon
<idc-dragon at gmx.de>
Tue, 24 Apr 2012 14:08:47 +0000
(16:08 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Wed, 25 Apr 2012 08:29:56 +0000
(10:29 +0200)
The summation was done wrong, causing the de-payloader to exit its loop too
early, before all frames are processed.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674472
gst/rtp/gstrtpceltdepay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpceltdepay.c
b/gst/rtp/gstrtpceltdepay.c
index
36e7f59
..
90c1263
100644
(file)
--- a/
gst/rtp/gstrtpceltdepay.c
+++ b/
gst/rtp/gstrtpceltdepay.c
@@
-247,7
+247,7
@@
gst_rtp_celt_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf)
do {
s = payload[pos++];
size += s;
- total_size += s
ize
+ 1;
+ total_size += s + 1;
} while (s == 0xff);
outbuf = gst_rtp_buffer_get_payload_subbuffer (&rtp, offset, size);