mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
declaration order fixes
Original commit message from CVS: declaration order fixes
This commit is contained in:
parent
16fccf325d
commit
18c107965b
2 changed files with 4 additions and 8 deletions
|
@ -328,8 +328,8 @@ gst_buffer_store_get_buffer (GstBufferStore *store, guint64 offset, guint size)
|
||||||
GList *walk;
|
GList *walk;
|
||||||
guint8 *data;
|
guint8 *data;
|
||||||
guint tmp;
|
guint tmp;
|
||||||
guint64 cur_offset = 0;
|
|
||||||
gboolean have_offset;
|
gboolean have_offset;
|
||||||
|
guint64 cur_offset = 0;
|
||||||
GstBuffer *ret = NULL;
|
GstBuffer *ret = NULL;
|
||||||
|
|
||||||
g_return_val_if_fail (GST_IS_BUFFER_STORE (store), NULL);
|
g_return_val_if_fail (GST_IS_BUFFER_STORE (store), NULL);
|
||||||
|
@ -341,7 +341,6 @@ gst_buffer_store_get_buffer (GstBufferStore *store, guint64 offset, guint size)
|
||||||
have_offset = TRUE;
|
have_offset = TRUE;
|
||||||
} else {
|
} else {
|
||||||
have_offset = FALSE;
|
have_offset = FALSE;
|
||||||
cur_offset = 0;
|
|
||||||
}
|
}
|
||||||
while (walk) {
|
while (walk) {
|
||||||
current = GST_BUFFER (walk->data);
|
current = GST_BUFFER (walk->data);
|
||||||
|
@ -418,9 +417,9 @@ guint
|
||||||
gst_buffer_store_get_size (GstBufferStore *store, guint64 offset)
|
gst_buffer_store_get_size (GstBufferStore *store, guint64 offset)
|
||||||
{
|
{
|
||||||
GList *walk;
|
GList *walk;
|
||||||
guint64 cur_offset = 0;
|
|
||||||
gboolean have_offset;
|
gboolean have_offset;
|
||||||
gboolean counting = FALSE;
|
gboolean counting = FALSE;
|
||||||
|
guint64 cur_offset = 0;
|
||||||
GstBuffer *current = NULL;
|
GstBuffer *current = NULL;
|
||||||
guint ret = 0;
|
guint ret = 0;
|
||||||
|
|
||||||
|
@ -433,7 +432,6 @@ gst_buffer_store_get_size (GstBufferStore *store, guint64 offset)
|
||||||
have_offset = TRUE;
|
have_offset = TRUE;
|
||||||
} else {
|
} else {
|
||||||
have_offset = FALSE;
|
have_offset = FALSE;
|
||||||
cur_offset = 0;
|
|
||||||
}
|
}
|
||||||
while (walk) {
|
while (walk) {
|
||||||
if (have_offset && counting &&
|
if (have_offset && counting &&
|
||||||
|
|
|
@ -328,8 +328,8 @@ gst_buffer_store_get_buffer (GstBufferStore *store, guint64 offset, guint size)
|
||||||
GList *walk;
|
GList *walk;
|
||||||
guint8 *data;
|
guint8 *data;
|
||||||
guint tmp;
|
guint tmp;
|
||||||
guint64 cur_offset = 0;
|
|
||||||
gboolean have_offset;
|
gboolean have_offset;
|
||||||
|
guint64 cur_offset = 0;
|
||||||
GstBuffer *ret = NULL;
|
GstBuffer *ret = NULL;
|
||||||
|
|
||||||
g_return_val_if_fail (GST_IS_BUFFER_STORE (store), NULL);
|
g_return_val_if_fail (GST_IS_BUFFER_STORE (store), NULL);
|
||||||
|
@ -341,7 +341,6 @@ gst_buffer_store_get_buffer (GstBufferStore *store, guint64 offset, guint size)
|
||||||
have_offset = TRUE;
|
have_offset = TRUE;
|
||||||
} else {
|
} else {
|
||||||
have_offset = FALSE;
|
have_offset = FALSE;
|
||||||
cur_offset = 0;
|
|
||||||
}
|
}
|
||||||
while (walk) {
|
while (walk) {
|
||||||
current = GST_BUFFER (walk->data);
|
current = GST_BUFFER (walk->data);
|
||||||
|
@ -418,9 +417,9 @@ guint
|
||||||
gst_buffer_store_get_size (GstBufferStore *store, guint64 offset)
|
gst_buffer_store_get_size (GstBufferStore *store, guint64 offset)
|
||||||
{
|
{
|
||||||
GList *walk;
|
GList *walk;
|
||||||
guint64 cur_offset = 0;
|
|
||||||
gboolean have_offset;
|
gboolean have_offset;
|
||||||
gboolean counting = FALSE;
|
gboolean counting = FALSE;
|
||||||
|
guint64 cur_offset = 0;
|
||||||
GstBuffer *current = NULL;
|
GstBuffer *current = NULL;
|
||||||
guint ret = 0;
|
guint ret = 0;
|
||||||
|
|
||||||
|
@ -433,7 +432,6 @@ gst_buffer_store_get_size (GstBufferStore *store, guint64 offset)
|
||||||
have_offset = TRUE;
|
have_offset = TRUE;
|
||||||
} else {
|
} else {
|
||||||
have_offset = FALSE;
|
have_offset = FALSE;
|
||||||
cur_offset = 0;
|
|
||||||
}
|
}
|
||||||
while (walk) {
|
while (walk) {
|
||||||
if (have_offset && counting &&
|
if (have_offset && counting &&
|
||||||
|
|
Loading…
Reference in a new issue