avcodec/libdav1d: properly free all output picture references
authorJames Almer <jamrial@gmail.com>
Tue, 8 Jan 2019 15:09:21 +0000 (12:09 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 8 Jan 2019 18:40:50 +0000 (15:40 -0300)
commit10931a0661eea87e3a7142e15b5077e617be55e9
tree398e6e3839ce16bd0be79ee8746019a3cae961c1
parent2659a0fe36327233a5f2f3968d638d061ecbba39
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.

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