lavc/amfenc: Retain a reference to D3D frames used as input during the encoding process
authorAlexander Kravchenko <akravchenko188@gmail.com>
Mon, 9 Apr 2018 16:48:33 +0000 (19:48 +0300)
committerMark Thompson <sw@jkqxz.net>
Tue, 10 Apr 2018 22:59:21 +0000 (23:59 +0100)
commit05f1a3face140373ae658ab1abd6bacc841a770d
treef54179c39902299499de5f79c990816679bcbab9
parent4c0798578cab410b4ad9c27bc47b5e09c9a66aba
lavc/amfenc: Retain a reference to D3D frames used as input during the encoding process

Fixes ticket #6990.

Tested-by: James Almer <jamrial@gmail.com>
Reviewed-by: Mark Thompson <sw@jkqxz.net>
libavcodec/amfenc.c
libavcodec/amfenc.h