declare variable at start of block

Original commit message from CVS:
declare variable at start of block
This commit is contained in:
Thomas Vander Stichele 2005-10-07 17:06:59 +00:00
parent e846919fe9
commit 96fd3b4548
2 changed files with 3 additions and 2 deletions

2
common

@ -1 +1 @@
Subproject commit 7d175466d3319fe55327608ea1f7a20619ab5634
Subproject commit eb0dd118a086dd4aa405d3871131839d81306245

View file

@ -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);