From 34222431aa441de06da0788cb8bbfc65e7d4bbfc Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 15 Dec 2010 18:21:34 +0100 Subject: [PATCH] rtpj2kpay: Initialize all fields Makes sad compliers happy --- gst/rtp/gstrtpj2kpay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtp/gstrtpj2kpay.c b/gst/rtp/gstrtpj2kpay.c index 11e4e24..7d98185 100644 --- 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; -- 2.7.4