diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-12-09 16:55:52 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-12-09 16:55:52 +0100 |
commit | f1fdf5d3e44e68f2cfc605fd294e9e67a89450ec (patch) | |
tree | 83f9c5dec99a4676452f36871dcba63c59245825 | |
parent | 08c16c0db7355f509b13392a215748ce8d39a9ce (diff) |
theoradec: small cleanups
-rw-r--r-- | ext/theora/theoradec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/theora/theoradec.c b/ext/theora/theoradec.c index 8be772dc4..169fc29c6 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); |