Commit 96fd3b45 authored by Thomas Vander Stichele's avatar Thomas Vander Stichele
Browse files

declare variable at start of block

Original commit message from CVS:
declare variable at start of block
parent e846919f
common @ eb0dd118
Subproject commit 7d175466d3319fe55327608ea1f7a20619ab5634
Subproject commit eb0dd118a086dd4aa405d3871131839d81306245
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment