diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-03-18 18:54:44 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-19 11:20:22 +0100 |
commit | c3ebfcd6e1327ca7bbcaee822e593c2da6cfd352 (patch) | |
tree | c783c25637430828b876fedacc7b9f8bc3a31850 /libavformat/rtpenc_chain.h | |
parent | 9c9ede44f37e291677c0db1c5fabf1c3f6106008 (diff) | |
download | ffmpeg-c3ebfcd6e1327ca7bbcaee822e593c2da6cfd352.tar.gz |
mpegvideo: allocate hwaccel privdata after the frame buffer
This ensures the hwaccel privdata does not leak when a frame buffer could
not be allocated (and toggle the assert when the frame is re-used).
Having no frame buffer available is quite common when using the DXVA2
hwaccel in situations where the DXVA2 renderer is being re-allocated, for
example when moving between displays.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/rtpenc_chain.h')
0 files changed, 0 insertions, 0 deletions