lib: fix DtsFlushInput segfault
lib: fix DtsFlushInput segfault

PESConvParams buffer ownership is wacky. DtsReleasePESConverter is
called when device is closed, DtsSetPESConverter (and
DtsInitPESConverter ) in DtsSetInputFormat before DtsOpenDecoder.

But you call DtsFlushInput(m_device, 2), "Flushes all the decoder
buffers, input, decoded and to be decoded."

then decoder is closed/opened and the close nukes PESConvParams buffers
and the next time one feeds DtsProcInput, you segfault.

You could keep a copy of what is passed into DtsSetInputFormat and reset
on internal/open close of decoder but it's easier to just not touch
PESConvParams buffers, they will get deleted when device is closed or
resized as needed.

Signed-off-by: Jarod Wilson <14059c7158912dcae849c377925c87d46da48cdf@redhat.com>

agx/libcrystalhd,agx/libcrystalhd,agx/libcrystalhd