projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df6031f
)
rtp: fix compiler warning
author
Thijs Vermeir
<thijsvermeir@gmail.com>
Tue, 18 Dec 2012 14:27:48 +0000
(15:27 +0100)
committer
Thijs Vermeir
<thijsvermeir@gmail.com>
Tue, 18 Dec 2012 14:27:48 +0000
(15:27 +0100)
comparison is always true due to limited range of data type
gst-libs/gst/rtp/gstrtpbuffer.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/rtp/gstrtpbuffer.c
b/gst-libs/gst/rtp/gstrtpbuffer.c
index 800752e22694de7cc743a06abd249384f09c3066..f28d3ce6dc52f410d713f41c17917ca3887a69c3 100644
(file)
--- a/
gst-libs/gst/rtp/gstrtpbuffer.c
+++ b/
gst-libs/gst/rtp/gstrtpbuffer.c
@@
-106,7
+106,6
@@
gst_rtp_buffer_allocate_data (GstBuffer * buffer, guint payload_len,
g_return_if_fail (csrc_count <= 15);
g_return_if_fail (GST_IS_BUFFER (buffer));
- g_return_if_fail (pad_len <= 255);
g_return_if_fail (gst_buffer_is_writable (buffer));
gst_buffer_remove_all_memory (buffer);