projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a67aa17
)
[MOVED FROM GST-P-FARSIGHT] Check the size of the input buffer, not the output buffer
author
Olivier CrĂȘte
<olivier.crete@collabora.co.uk>
Mon, 6 Oct 2008 02:00:27 +0000
(22:00 -0400)
committer
Edward Hervey
<bilboed@bilboed.com>
Tue, 17 Feb 2009 18:29:40 +0000
(19:29 +0100)
gst/siren/gstsirendec.c
patch
|
blob
|
history
diff --git
a/gst/siren/gstsirendec.c
b/gst/siren/gstsirendec.c
index 3b66c5d4bed528df008a72a5ac3d03e18530a439..97f91778ed8c297cdf0f0ab34efe1bc1703d13fc 100644
(file)
--- a/
gst/siren/gstsirendec.c
+++ b/
gst/siren/gstsirendec.c
@@
-179,7
+179,7
@@
gst_siren_dec_chain (GstPad *pad, GstBuffer *buf)
return GST_FLOW_OK;
}
- if (
size
% 40 != 0)
+ if (
GST_BUFFER_SIZE (buf)
% 40 != 0)
GST_LOG_OBJECT (dec, "Got buffer with size not a multiple for frame size,"
" ignoring last %u bytes", GST_BUFFER_SIZE (buf) % 40);