From 96fd3b4548af3c37dcd7560c812e9692b436575e Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 7 Oct 2005 17:06:59 +0000 Subject: [PATCH] declare variable at start of block Original commit message from CVS: declare variable at start of block --- common | 2 +- ext/ogg/gstoggparse.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common b/common index 7d175466d..eb0dd118a 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 7d175466d3319fe55327608ea1f7a20619ab5634 +Subproject commit eb0dd118a086dd4aa405d3871131839d81306245 diff --git a/ext/ogg/gstoggparse.c b/ext/ogg/gstoggparse.c index f8e7e3c35..d2c921700 100644 --- a/ext/ogg/gstoggparse.c +++ b/ext/ogg/gstoggparse.c @@ -457,6 +457,7 @@ gst_ogg_parse_chain (GstPad * pad, GstBuffer * buffer) * BOS page; that way we know that when we next see a BOS page it's a * new chain, and we can flush all existing streams. */ + page_type type; GstOggStream *stream = gst_ogg_parse_find_stream (ogg, serialno); if (!stream) { @@ -467,7 +468,7 @@ gst_ogg_parse_chain (GstPad * pad, GstBuffer * buffer) ogg->last_page_not_bos = TRUE; - page_type type = gst_ogg_parse_is_header (ogg, stream, &page); + type = gst_ogg_parse_is_header (ogg, stream, &page); if (type == PAGE_PENDING && ogg->in_headers) { gst_buffer_ref (pagebuffer); -- 2.34.1