Original commit message from CVS:
declaration order fixes
GList *walk;
guint8 *data;
guint tmp;
- guint64 cur_offset = 0;
gboolean have_offset;
+ guint64 cur_offset = 0;
GstBuffer *ret = NULL;
g_return_val_if_fail (GST_IS_BUFFER_STORE (store), NULL);
have_offset = TRUE;
} else {
have_offset = FALSE;
- cur_offset = 0;
}
while (walk) {
current = GST_BUFFER (walk->data);
gst_buffer_store_get_size (GstBufferStore *store, guint64 offset)
{
GList *walk;
- guint64 cur_offset = 0;
gboolean have_offset;
gboolean counting = FALSE;
+ guint64 cur_offset = 0;
GstBuffer *current = NULL;
guint ret = 0;
have_offset = TRUE;
} else {
have_offset = FALSE;
- cur_offset = 0;
}
while (walk) {
if (have_offset && counting &&
GList *walk;
guint8 *data;
guint tmp;
- guint64 cur_offset = 0;
gboolean have_offset;
+ guint64 cur_offset = 0;
GstBuffer *ret = NULL;
g_return_val_if_fail (GST_IS_BUFFER_STORE (store), NULL);
have_offset = TRUE;
} else {
have_offset = FALSE;
- cur_offset = 0;
}
while (walk) {
current = GST_BUFFER (walk->data);
gst_buffer_store_get_size (GstBufferStore *store, guint64 offset)
{
GList *walk;
- guint64 cur_offset = 0;
gboolean have_offset;
gboolean counting = FALSE;
+ guint64 cur_offset = 0;
GstBuffer *current = NULL;
guint ret = 0;
have_offset = TRUE;
} else {
have_offset = FALSE;
- cur_offset = 0;
}
while (walk) {
if (have_offset && counting &&