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:
744472d
)
rtpj2kpay: Initialize all fields
author
Edward Hervey
<edward.hervey@collabora.co.uk>
Wed, 15 Dec 2010 17:21:34 +0000
(18:21 +0100)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Wed, 15 Dec 2010 17:21:34 +0000
(18:21 +0100)
Makes sad compliers happy
gst/rtp/gstrtpj2kpay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpj2kpay.c
b/gst/rtp/gstrtpj2kpay.c
index
11e4e24
..
7d98185
100644
(file)
--- a/
gst/rtp/gstrtpj2kpay.c
+++ b/
gst/rtp/gstrtpj2kpay.c
@@
-359,6
+359,7
@@
gst_rtp_j2k_pay_handle_buffer (GstBaseRTPPayload * basepayload,
state.header.T = 1; /* invalid tile */
state.header.priority = 255; /* always 255 for now */
state.header.tile = 0; /* no tile number */
+ state.header.offset = 0; /* offset of 0 */
state.bitstream = FALSE;
state.n_tiles = 0;
state.next_sot = 0;