Re: [FFmpeg-devel] [PATCH 2/2] dxva2_hevc: re-write reference frame handling

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 06:20:25PM +0200, Hendrik Leppkes wrote: > The old logic required and explicit clearing of the lists first and was > prone to overflow the DXVA2 struct in some circumstances. > --- > libavcodec/dxva2_hevc.c | 40 ++-- > 1 file changed, 22

[FFmpeg-devel] [PATCH 2/2] dxva2_hevc: re-write reference frame handling

2015-05-28 Thread Hendrik Leppkes
The old logic required and explicit clearing of the lists first and was prone to overflow the DXVA2 struct in some circumstances. --- libavcodec/dxva2_hevc.c | 40 ++-- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/libavcodec/dxva2_hevc.c b/lib