qsvdec: fix a memleak of async_fifo
authorAnton Khirnov <anton@khirnov.net>
Tue, 21 Jul 2015 17:41:59 +0000 (19:41 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 25 Jul 2015 15:23:46 +0000 (17:23 +0200)
commit22522d9c2c69624fe4d81d61ee65a56610f22f1d
tree17efc65a647e662657845f2a1e8c4a7d64f87bb8
parentaa9d15d89bb4ee8a31607d3db1b8c5334eb88d2d
qsvdec: fix a memleak of async_fifo

init() is called whenever format changes, so current code would leak the
fifo in this case.
libavcodec/qsvdec.c