From: Leo Singer Date: Fri, 17 Dec 2010 04:40:33 +0000 (-0800) Subject: audioresample: changed num_gap_samples, num_nongap_samples from guint32 to guint64... X-Git-Tag: 1.19.3~511^2~6555^2~1312 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25a154be5f971e86b37c6d4130176d4583625a6d;p=platform%2Fupstream%2Fgstreamer.git audioresample: changed num_gap_samples, num_nongap_samples from guint32 to guint64 so that gaps of greater than or equal to 2^32 samples do not cause integer overflow --- diff --git a/gst/audioresample/gstaudioresample.h b/gst/audioresample/gstaudioresample.h index 8ffe4d5..f5f7464 100644 --- a/gst/audioresample/gstaudioresample.h +++ b/gst/audioresample/gstaudioresample.h @@ -64,8 +64,8 @@ struct _GstAudioResample { guint64 samples_in; guint64 samples_out; - guint num_gap_samples; - guint num_nongap_samples; + guint64 num_gap_samples; + guint64 num_nongap_samples; gint channels; gint inrate;