wavparse: fix which stop variable is used in assignment
authorLuis de Bethencourt <luis.bg@samsung.com>
Fri, 6 Feb 2015 14:43:22 +0000 (14:43 +0000)
committerLuis de Bethencourt <luis.bg@samsung.com>
Fri, 6 Feb 2015 14:46:14 +0000 (14:46 +0000)
commiteb975ce88069fad7cad7657a846268b5305f239e
tree034ca0a02762211cc5a2dcf7f939de3c12100d12
parentaa4c29c5d62885adf65f56690fcbcd62375cc24a
wavparse: fix which stop variable is used in assignment

Assignment is done to variable segment.stop when the intention was to assign to
local variable stop. Instead of overwriting it, the value is now clamped and
segment.stop is set to it soon after.

CID #1265773
gst/wavparse/gstwavparse.c