summaryrefslogtreecommitdiffstats
path: root/ext/dv
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-18 18:11:00 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-18 18:51:28 +0200
commit0cb5b42d546538b455ac3bbe90b07e3eb67eb820 (patch)
tree24b178742be806e745b7a3891aa0d63920c364b4 /ext/dv
parentcdb03bdc2b4548909f3f47eec6dfbbb3b5159411 (diff)
Remove trivial unused variables detected by CLang static analyzer.
Diffstat (limited to 'ext/dv')
-rw-r--r--ext/dv/gstdvdemux.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/dv/gstdvdemux.c b/ext/dv/gstdvdemux.c
index 7c7509fe..99dea754 100644
--- a/ext/dv/gstdvdemux.c
+++ b/ext/dv/gstdvdemux.c
@@ -1032,7 +1032,7 @@ gst_dvdemux_handle_pull_seek (GstDVDemux * demux, GstPad * pad,
/* convert input format to TIME */
conv = GST_FORMAT_TIME;
- if (!(res = gst_dvdemux_convert_src_pair (demux, pad,
+ if (!(gst_dvdemux_convert_src_pair (demux, pad,
format, cur, stop, conv, &cur, &stop)))
goto no_format;
@@ -1379,11 +1379,10 @@ gst_dvdemux_demux_frame (GstDVDemux * dvdemux, GstBuffer * buffer)
if (G_UNLIKELY (dvdemux->need_segment)) {
GstEvent *event;
GstFormat format;
- gboolean res;
/* convert to time and store as start/end_timestamp */
format = GST_FORMAT_TIME;
- if (!(res = gst_dvdemux_convert_sink_pair (dvdemux,
+ if (!(gst_dvdemux_convert_sink_pair (dvdemux,
GST_FORMAT_BYTES, dvdemux->byte_segment.start,
dvdemux->byte_segment.stop, format,
&dvdemux->time_segment.start, &dvdemux->time_segment.stop)))
@@ -1395,7 +1394,7 @@ gst_dvdemux_demux_frame (GstDVDemux * dvdemux, GstBuffer * buffer)
/* calculate current frame number */
format = GST_FORMAT_DEFAULT;
- if (!(res = gst_dvdemux_src_convert (dvdemux, dvdemux->videosrcpad,
+ if (!(gst_dvdemux_src_convert (dvdemux, dvdemux->videosrcpad,
GST_FORMAT_TIME, dvdemux->time_segment.start,
&format, &dvdemux->frame_offset)))
goto segment_error;