nonstreamaudio: Avoid using wrong variable
authorEdward Hervey <edward@centricular.com>
Fri, 26 May 2017 15:44:40 +0000 (17:44 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 26 May 2017 15:44:40 +0000 (17:44 +0200)
commit304a628de777ed0a180e8a23dc0e689ca9b0e24c
tree93cafbab3eb3bdcf7c9f31e830680e3bb6bb85f0
parent2a193cde8481c2de6d5e7a32cfdc8eada8f9cf07
nonstreamaudio: Avoid using wrong variable

And to make that 100% obvious, only use variables declared within the
switch cases instead of function-wide ones.

Also remove useless one-time-use-only variable.

CID #1409857
gst-libs/gst/audio/gstnonstreamaudiodecoder.c