projects
/
platform
/
upstream
/
gst-plugins-good.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wavparse: fix which stop variable is used in assignment
[platform/upstream/gst-plugins-good.git]
/
gst
/
wavparse
/
gstwavparse.c
diff --git
a/gst/wavparse/gstwavparse.c
b/gst/wavparse/gstwavparse.c
index
2f5698b
..
41d5151
100644
(file)
--- a/
gst/wavparse/gstwavparse.c
+++ b/
gst/wavparse/gstwavparse.c
@@
-2348,8
+2348,8
@@
gst_wavparse_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
}
if (stop > 0) {
end_offset = stop;
- s
egment.s
top -= wav->datastart;
- s
egment.s
top = MAX (stop, 0);
+ stop -= wav->datastart;
+ stop = MAX (stop, 0);
}
if (wav->segment.format == GST_FORMAT_TIME) {
guint64 bps = wav->bps;