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:
399fc9c
)
udpsrc: allow skip-first-bytes of full buffer size
author
Thijs Vermeir
<thijsvermeir@gmail.com>
Wed, 1 Jun 2011 08:19:31 +0000
(10:19 +0200)
committer
Thijs Vermeir
<thijsvermeir@gmail.com>
Wed, 1 Jun 2011 08:19:31 +0000
(10:19 +0200)
gst/udp/gstudpsrc.c
patch
|
blob
|
history
diff --git
a/gst/udp/gstudpsrc.c
b/gst/udp/gstudpsrc.c
index 4363044da201292b6933fbe4f27f1f958a89aa79..f3f47a85272c1bf12645a4dd7ecf7e9441393dfd 100644
(file)
--- a/
gst/udp/gstudpsrc.c
+++ b/
gst/udp/gstudpsrc.c
@@
-533,7
+533,7
@@
no_select:
/* patch pktdata and len when stripping off the headers */
if (G_UNLIKELY (udpsrc->skip_first_bytes != 0)) {
- if (G_UNLIKELY (readsize <
=
udpsrc->skip_first_bytes))
+ if (G_UNLIKELY (readsize < udpsrc->skip_first_bytes))
goto skip_error;
pktdata += udpsrc->skip_first_bytes;