summaryrefslogtreecommitdiff
path: root/gst/videoparsers/h263parse.c
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2011-03-04 12:11:12 +0100
committerEdward Hervey <edward.hervey@collabora.co.uk>2011-03-04 12:15:32 +0100
commit8d050d21165cf29e89846c8009f69c55d8d13ac5 (patch)
treec3c093532867a7e132f1660ecd74a6116e76629c /gst/videoparsers/h263parse.c
parentd9a930aa250d5525978ef97108da627bc18f9b24 (diff)
downloadgstreamer-plugins-bad-8d050d21165cf29e89846c8009f69c55d8d13ac5.tar.gz
videoparsers: Fix unitialized variables
Makes macosx compiler happy
Diffstat (limited to 'gst/videoparsers/h263parse.c')
-rw-r--r--gst/videoparsers/h263parse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/videoparsers/h263parse.c b/gst/videoparsers/h263parse.c
index b22c4de19..1fdf22316 100644
--- a/gst/videoparsers/h263parse.c
+++ b/gst/videoparsers/h263parse.c
@@ -74,7 +74,7 @@ gst_h263_parse_get_params (H263Params * params, GstBuffer * buffer,
GstBitReader br;
guint8 tr;
- guint32 psc, temp32;
+ guint32 psc = 0, temp32;
guint8 temp8, pquant;
gboolean hasplusptype;
@@ -181,7 +181,7 @@ gst_h263_parse_get_params (H263Params * params, GstBuffer * buffer,
if (hasplusptype) {
guint8 ufep;
guint8 cpm;
- guint32 opptype, mpptype;
+ guint32 opptype = 0, mpptype = 0;
/* 5.1.4 PLUSPTYPE */
@@ -264,7 +264,7 @@ gst_h263_parse_get_params (H263Params * params, GstBuffer * buffer,
}
if (ufep == 1) {
- guint32 cpfmt;
+ guint32 cpfmt = 0;
/* 5.1.5 CPFMT : Custom Picture Format (23 bits) */
if (!gst_bit_reader_get_bits_uint32 (&br, &cpfmt, 23))
@@ -278,7 +278,7 @@ gst_h263_parse_get_params (H263Params * params, GstBuffer * buffer,
params->height = (cpfmt & 0x1f) * 4;
if (temp8 == 0xf) {
- guint32 epar;
+ guint32 epar = 0;
/* 5.1.6 EPAR : Extended Pixel Aspect Ratio (16bits) */
if (!gst_bit_reader_get_bits_uint32 (&br, &epar, 16))
goto more;