OSDN Git Service

dxva2_hevc: re-write reference frame handling
authorHendrik Leppkes <h.leppkes@gmail.com>
Thu, 28 May 2015 16:25:37 +0000 (18:25 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 31 May 2015 11:05:13 +0000 (13:05 +0200)
commit902a55f7161ffea10e13c1e7df14022e2ed90514
tree4c7e12a2e1b93f44959ddf401af06087b3ab794d
parent35818b8aaf4d669ed0bbb05c3fd06e619f2db01a
dxva2_hevc: re-write reference frame handling

The old logic required an explicit clearing of the lists first and was
prone to overflow the DXVA2 struct in some circumstances.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/dxva2_hevc.c