avplay: Statically allocate the player state
authorLuca Barbato <lu_zero@gentoo.org>
Sat, 2 Jan 2016 11:19:31 +0000 (12:19 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 25 Jan 2016 08:12:02 +0000 (09:12 +0100)
commit6fa464f8d29b7f295bc93704d6ebca84571cc8e5
tree6807d19f5fb110c4d11ab5200d6f13523e9ec4ce
parent611ba89b896a5286b6d8ad9bfdbb8b4f5c11df9c
avplay: Statically allocate the player state

And move the resource deallocation in stream_open failure path.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
avplay.c