summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-06-21 09:34:56 +0100
committerTim-Philipp Müller <tim@centricular.com>2016-06-21 09:34:56 +0100
commit323244bc047c26d3027e3424804859e0abd9a8a0 (patch)
tree63a3de06cb53eb4d068a38d8e14933227c55da39 /gst
parent3172a5d6d0c713c1d73fe84989a5e75dc7614f1c (diff)
rtpj2kpay: fix compiler warning on OS/X
gstrtpj2kpay.c:364:21: error: implicit truncation from 'int' to bitfield changes value from -1 to 65535 https://bugzilla.gnome.org/show_bug.cgi?id=767817
Diffstat (limited to 'gst')
-rw-r--r--gst/rtp/gstrtpj2kpay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtpj2kpay.c b/gst/rtp/gstrtpj2kpay.c
index f0b0979a9..9b6a7f956 100644
--- a/gst/rtp/gstrtpj2kpay.c
+++ b/gst/rtp/gstrtpj2kpay.c
@@ -361,7 +361,7 @@ gst_rtp_j2k_pay_handle_buffer (GstRTPBasePayload * basepayload,
state.header.mh_id = 0; /* always 0 for now */
state.header.T = 1; /* invalid tile, because we always begin with the main header */
state.header.priority = 255; /* always 255 for now */
- state.header.tile = -1; /* no tile number */
+ state.header.tile = 0xffff; /* no tile number */
state.header.offset = 0; /* offset of 0 */
state.multi_tile_part = FALSE;
state.bitstream = FALSE;