diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2018-01-28 12:39:03 +0100 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2018-01-28 12:39:06 +0100 |
commit | 32bc4e77f61a5483c83a360b9ccbfc2840daba1e (patch) | |
tree | 364a7e1e49766bc46216347e9c9f81d8c1cfd6b9 /libavcodec/libxavs.c | |
parent | bbe1b21022e4872bc64066d46a4567dc1b655f7a (diff) | |
download | ffmpeg-32bc4e77f61a5483c83a360b9ccbfc2840daba1e.tar.gz |
avcodec/nvenc: unregister input resource when unmapping
Currently the resource is only ever unregistered when the
registered_frames array is fully in use and an unmapped entry is re-used
and cleaned up.
I'm pretty sure the frame will have been cleaned up before that happens,
so I'm kinda surprised this never blew up.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/libxavs.c')
0 files changed, 0 insertions, 0 deletions