typefindfunctions: Fix unitialized variables

yay macosx compilers :(
This commit is contained in:
Edward Hervey 2010-06-14 14:13:32 +02:00
parent 3879c57b01
commit 7b2584ed68

View file

@ -1342,7 +1342,7 @@ dts_type_find (GstTypeFind * tf, gpointer unused)
* a lower probability if not found right at the start. Check that the
* frame is followed by a second frame at the expected offset. */
while (c.offset <= DTS_MAX_FRAMESIZE) {
guint frame_size, rate, chans;
guint frame_size = 0, rate = 0, chans = 0;
if (G_UNLIKELY (!data_scan_ctx_ensure_data (tf, &c, DTS_MIN_FRAMESIZE)))
return;