From f1fdf5d3e44e68f2cfc605fd294e9e67a89450ec Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 9 Dec 2009 16:55:52 +0100 Subject: [PATCH] theoradec: small cleanups --- ext/theora/theoradec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/theora/theoradec.c b/ext/theora/theoradec.c index 8be772d..169fc29 100644 --- a/ext/theora/theoradec.c +++ b/ext/theora/theoradec.c @@ -403,7 +403,7 @@ theora_dec_src_query (GstPad * pad, GstQuery * query) case GST_QUERY_POSITION: { gint64 value; - GstFormat my_format, format; + GstFormat format; gint64 time; /* parse format */ @@ -415,9 +415,9 @@ theora_dec_src_query (GstPad * pad, GstQuery * query) GST_LOG_OBJECT (dec, "query %p: our time: %" GST_TIME_FORMAT, query, GST_TIME_ARGS (time)); - my_format = GST_FORMAT_TIME; if (!(res = - theora_dec_src_convert (pad, my_format, time, &format, &value))) + theora_dec_src_convert (pad, GST_FORMAT_TIME, time, &format, + &value))) goto error; gst_query_set_position (query, format, value); -- 2.7.4