mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 21:28:45 +00:00
gst: Fix unintialized variable warnings
While cross-compiling with Linaro GCC 5.1-2015.08, it complained about a couple unitialized variables. This patch initializes them to zero. https://bugzilla.gnome.org/show_bug.cgi?id=761094
This commit is contained in:
parent
eafa9f08f7
commit
e1834d1512
2 changed files with 2 additions and 2 deletions
|
@ -3245,7 +3245,7 @@ qtdemux_parse_cenc_aux_info (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
||||||
|
|
||||||
for (i = 0; i < sample_count; ++i) {
|
for (i = 0; i < sample_count; ++i) {
|
||||||
GstStructure *properties;
|
GstStructure *properties;
|
||||||
guint16 n_subsamples;
|
guint16 n_subsamples = 0;
|
||||||
guint8 *data;
|
guint8 *data;
|
||||||
guint iv_size;
|
guint iv_size;
|
||||||
GstBuffer *buf;
|
GstBuffer *buf;
|
||||||
|
|
|
@ -867,7 +867,7 @@ gst_rtp_h261_packetize_and_push (GstRtpH261Pay * pay, GstBuffer * buffer,
|
||||||
gst_rtp_buffer_calc_payload_len (GST_RTP_BASE_PAYLOAD_MTU (pay) -
|
gst_rtp_buffer_calc_payload_len (GST_RTP_BASE_PAYLOAD_MTU (pay) -
|
||||||
GST_RTP_H261_PAYLOAD_HEADER_LEN, 0, 0);
|
GST_RTP_H261_PAYLOAD_HEADER_LEN, 0, 0);
|
||||||
guint startpos;
|
guint startpos;
|
||||||
gint num_gobs;
|
gint num_gobs = 0;
|
||||||
Gob gobs[MAX_NUM_GOB];
|
Gob gobs[MAX_NUM_GOB];
|
||||||
Gob *gob;
|
Gob *gob;
|
||||||
Macroblock last_mb_in_previous_packet = { 0 };
|
Macroblock last_mb_in_previous_packet = { 0 };
|
||||||
|
|
Loading…
Reference in a new issue