wmavoice: free frame before ff_get_buffer
authorTimo Rothenpieler <timo@rothenpieler.org>
Sat, 11 Nov 2017 12:12:06 +0000 (13:12 +0100)
committerTimo Rothenpieler <timo@rothenpieler.org>
Sat, 11 Nov 2017 13:19:05 +0000 (14:19 +0100)
commit7e76e1ea80052ee95ef33d5341b9251b90766c9c
tree9ffb9bb3da0c18753edb41b4f6ae9ecdfd3e61bf
parent8dd73f68a6319d1784b33da9553671f1a0c197f9
wmavoice: free frame before ff_get_buffer

synth_superframe can be called twice per call to decode_packet.
It is not fully clear if calling ff_get_buffer on the same frame twice
is supported, so unref the frame first to be save.
libavcodec/wmavoice.c