aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/lmlm4.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-03-18 18:54:43 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-19 11:20:00 +0100
commit9c9ede44f37e291677c0db1c5fabf1c3f6106008 (patch)
treec4b27467cb0f590134c48f40f507c6fa557abf4e /libavformat/lmlm4.c
parentc71c80f53b6a63fd6360d9de5a262f9e7c85681f (diff)
downloadffmpeg-9c9ede44f37e291677c0db1c5fabf1c3f6106008.tar.gz
h264: 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/lmlm4.c')
0 files changed, 0 insertions, 0 deletions