avcodec/libdav1d: properly free all output picture references
authorJames Almer <jamrial@gmail.com>
Wed, 23 Jan 2019 20:39:20 +0000 (17:39 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 23 Jan 2019 20:39:20 +0000 (17:39 -0300)
commitca44fa5d7fda7e954f3ebfeb5b0d6d1be55fcaa3
tree1ea8917e2863572a786b4c3ae019dc1fd2fc4fed
parent90adbf4abf336f8042aecdf1e18fdf76a96304b1
avcodec/libdav1d: properly free all output picture references

Dav1dPictures contain more than one buffer reference, so we're forced to use the
API properly to free them all.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/libdav1d.c